⭐️ A friendly language for building type-safe, scalable systems!

changelog

authored by giacomocavalieri.me and committed by Louis Pilfold 4d9328ac 6c393e31

Changed files
+27
+27
CHANGELOG.md
··· 48 48 shadows an imported name in the current module. 49 49 ([Aayush Tripathi](https://github.com/aayush-tripathi)) 50 50 51 + - The compiler can now tell when an unknown variable might be referring to an 52 + ignored variable and provide an helpful error message highlighting it. For 53 + example, this piece of code: 54 + 55 + ```gleam 56 + pub fn go() { 57 + let _x = 1 58 + x + 1 59 + } 60 + ``` 61 + 62 + Now results in the following error: 63 + 64 + ``` 65 + error: Unknown variable 66 + ┌─ /src/one/two.gleam:4:3 67 + 68 + 3 │ let _x = 1 69 + │ -- Did you mean to use this ignored variable? 70 + 4 │ x + 1 71 + │ ^ 72 + 73 + The name `x` is not in scope here. 74 + ``` 75 + 76 + ([Giacomo Cavalieri](https://github.com/giacomocavalieri)) 77 + 51 78 ### Build tool 52 79 53 80 - `gleam update`, `gleam deps update`, and `gleam deps download` will now print