Skip to content

Commit 65d7bb5

Browse files
5c077m4nlpil
authored andcommittedJan 22, 2025
Update changelog
1 parent 0527ec7 commit 65d7bb5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
 

‎CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,18 @@
5252

5353
([Giacomo Cavalieri](https://github.com/giacomocavalieri))
5454

55+
- The compiler now shows an improved error message when using an unknown type as a
56+
variable name
57+
58+
```txt
59+
error: Unknown variable
60+
┌─ /src/one/two.gleam:4:3
61+
62+
4 │ X
63+
│ ^
64+
The custom type variant constructor `X` is not in scope here.
65+
```
66+
5567
### Build tool
5668

5769
- `gleam new` now has refined project name validation - rather than failing on

0 commit comments

Comments
 (0)