Comments (3)
What would you have this say instead? There is no type with that name in scope in the module there.
from gleam.
There is a type X in the module! type X = List(Intt)
The error I want to have is this
error: Unknown type
┌─ /home/julian/projects/gig/src/env.gleam:10:8
│
10 │ List(Intt)
│ ^^^^ Did you mean `Int`?
The type `Intt` is not defined or imported in this module.
This is what you get when you delete the example
function. The correct error gets suppressed somehow by that function being present.
from gleam.
Oh! It's only printing one of the errors for some reason. That's the bug. Thank you
from gleam.
Related Issues (20)
- Add the --target flag to gleam docs build
- [WEBSITE] 'Getting Started' link isn't present on gleam.run HOT 2
- Fatal compiler bug when using `gleam add` HOT 2
- Incorrect formatting of leading comment in v1.2.0-rc1 HOT 1
- Wrong Assignment Error Message on Bad Names HOT 12
- LSP: cleanup when a client has closed all files in a project
- Grammar railroad diagram HOT 1
- Allow string concatenation when defining const values HOT 10
- Compiler fatal crash when defining a type with the same name as an imported type. HOT 5
- Formatter strips new lines in lambda expressions HOT 1
- add Option Type to Preluded features HOT 2
- Crash of gleam compiler on windows (VS Code - LSP) HOT 1
- Fix autocompletion of unqualified types in imports sometimes duplicating the `type` keyword.
- Add `let assert ... as` syntax HOT 9
- LSP reports 'no implementation for Erlang' for javascript-only function HOT 2
- Add qualifiers for type variables in generated Erlang typespecs HOT 16
- problem when running the shell command `rebar3` - when running `gleam run` HOT 1
- Certain identifiers named `Maybe` generate invalid Erlang code on Erlang/OTP 27 HOT 5
- Unable use `gleam new` command HOT 2
- LSP: autocompletion types in import statement should account for already-typed `type` keyword HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gleam.