|
101 | 101 | O(1) operation instead of O(N), significantly improving performance.
|
102 | 102 | ([Richard Viney](https://github.com/richard-viney))
|
103 | 103 |
|
104 |
| -- Better error message for existed type constructor being used as value |
| 104 | +- Better error message for when an existing type constructor is used as a value |
105 | 105 | constructor.
|
106 | 106 | ([Jiangda Wang](https://github.com/Frank-III))
|
107 | 107 |
|
108 |
| -- Print better error messages when shell commands used by compiler cannot be found. |
| 108 | +- Print better error messages when shell commands used by compiler cannot be |
| 109 | + found. |
109 | 110 | ([wheatfox](https://github.com/enkerewpo))
|
110 | 111 |
|
111 | 112 | ### Build tool
|
|
144 | 145 | amount of code it'll need to download and compile, improving compile times.
|
145 | 146 | ([Tristan Sloughter](https://github.com/tsloughter))
|
146 | 147 |
|
147 |
| -### Language Server |
| 148 | +### Language server |
148 | 149 |
|
149 | 150 | - The language server now provides type information when hovering over argument
|
150 | 151 | labels.
|
151 | 152 | ([Surya Rose](https://github.com/GearsDatapacks))
|
152 | 153 |
|
153 |
| -- The Language Server now suggests a code action to desugar a use expression |
| 154 | +- The language server now suggests a code action to desugar a use expression |
154 | 155 | into the equivalent function call. For example, this snippet of code:
|
155 | 156 |
|
156 | 157 | ```gleam
|
|
172 | 173 |
|
173 | 174 | ([Giacomo Cavalieri](https://github.com/giacomocavalieri))
|
174 | 175 |
|
175 |
| -- The Language Server now suggests a code action to turn a function call into |
| 176 | +- The language server now suggests a code action to turn a function call into |
176 | 177 | the equivalent use expression. For example, this snippet of code:
|
177 | 178 |
|
178 | 179 | ```gleam
|
|
225 | 226 | - The language server now provides an action to extract a value into a variable.
|
226 | 227 | ([Giacomo Cavalieri](https://github.com/giacomocavalieri))
|
227 | 228 |
|
228 |
| -- The Language Server now suggests a code action to expand a function capture |
| 229 | +- The language server now suggests a code action to expand a function capture |
229 | 230 | into the equivalent anonymous function. For example, this snippet of code:
|
230 | 231 |
|
231 | 232 | ```gleam
|
|
276 | 277 | - The formatter now adds a `todo` inside empty blocks.
|
277 | 278 | ([Giacomo Cavalieri](https://github.com/giacomocavalieri))
|
278 | 279 |
|
| 280 | +- The formatter now formats lists the same in constants as in expressions. |
| 281 | + ([Jiangda Wang](https://github.com/Frank-III)) |
| 282 | + |
279 | 283 | ### Documentation
|
280 | 284 |
|
281 | 285 | - Canonical links created for documentation pages if published on Hex.
|
282 | 286 | Previously published documentation would need to be updated.
|
283 | 287 | Resolves versioned pages to point to latest page for search engines.
|
284 | 288 | ([Dave Lage](https://github.com/rockerBOO))
|
285 | 289 |
|
286 |
| -- The formatter now format lists the same in constants as in expressions |
287 |
| - ([Jiangda Wang](https://github.com/Frank-III)) |
288 |
| - |
289 | 290 | ### Bug fixed
|
290 | 291 |
|
291 | 292 | - The compiler now throws an error when a float literal ends with an `e` and
|
292 | 293 | is missing an exponent.
|
293 | 294 | ([Surya Rose](https://github.com/GearsDatapacks))
|
294 | 295 |
|
295 |
| -- Fixed a crash with ENOTEMPTY (os error 39) when building on NTFS partitions |
| 296 | +- Fixed a crash with ENOTEMPTY (os error 39) when building on NTFS partitions. |
296 | 297 | ([Ivan Ermakov](https://github.com/ivanjermakov))
|
297 | 298 |
|
298 | 299 | - Fixed a bug where the compiler would crash when pattern matching on multiple
|
|
324 | 325 | ([yoshi](https://github.com/joshi-monster))
|
325 | 326 |
|
326 | 327 | - Fixed a bug where expressions which use an unsafe integer on JavaScript would
|
327 |
| - not emit a warning if an @external function had been referenced. |
| 328 | + not emit a warning if an external function had been referenced. |
328 | 329 | ([Richard Viney](https://github.com/richard-viney))
|
329 | 330 |
|
330 | 331 | - Fixed a bug where nested tuple access would not be parsed correctly when
|
|
336 | 337 | ([yoshi](https://github.com/joshi-monster))
|
337 | 338 |
|
338 | 339 | - Fixed a bug where the inferred variant of values was not properly cached,
|
339 |
| - leading to incorrect errors on incremental builds and in the Language Server. |
| 340 | + leading to incorrect errors on incremental builds and in the language server. |
340 | 341 | ([Surya Rose](https://github.com/GearsDatapacks))
|
341 | 342 |
|
342 | 343 | - Fixed a bug where Gleam would be unable to compile to BEAM bytecode if the
|
|
347 | 348 | unused variables in certain cases.
|
348 | 349 | ([Surya Rose](https://github.com/GearsDatapacks))
|
349 | 350 |
|
350 |
| -- Fixed a bug where the completer would not include braces in type import completions |
351 |
| - when it should have. |
| 351 | +- Fixed a bug where the completer would not include braces in type import |
| 352 | + completions when it should have. |
352 | 353 | ([Jiangda Wang](https://github.com/Frank-III))
|
353 | 354 |
|
354 | 355 | - Fixed a bug where `gleam new` would generate the github `test` workflow
|
|
0 commit comments