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)
- LSP: Goto Definition not working properly for unqualified imports HOT 2
- (hex)docs: types in function signatures should be clickable links to their documentation HOT 1
- Deprecate `..` discard if not preceded by a comma HOT 1
- Improve the error message for using module alias as a name HOT 2
- LSP code action: turn (wrong) C-style type definition into a single constructor type HOT 1
- Gleam package manager seems to default to oldest possible version instead of most recent HOT 1
- Language Server: Label access completion only works with public types
- `gleam export package-interface` breaks when build is cached HOT 3
- lsp crash HOT 1
- gleam doesn't update, on AUR helper (yay) HOT 3
- Infer minimum Gleam version HOT 5
- Allow Strings in a BitArray literal without having to specify utf8 encoding HOT 3
- Print progress to stderr, not stdout HOT 3
- LSP: autocompleting type imports should add brackets if needed HOT 1
- string.drop_left appears to return array of ASCII codes in some circumstances HOT 2
- Inconsistency with tag name format expected for source links in docs based on repository type HOT 4
- Add hint to error message when trying to use a variable name starting with a `_` HOT 2
- Compiler crash when checking exhaustiveness of a pattern on a type with duplicate variants HOT 2
- LSP: function hover info should include argument labels HOT 1
- error: Fatal compiler bug! Double records name is the problem 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.