gleam-lang / gleam

⭐️ A friendly language for building type-safe, scalable systems!
https://gleam.run
Apache License 2.0
17.42k stars 723 forks source link

LS suggests values when writing a function signature #3558

Open giacomocavalieri opened 3 weeks ago

giacomocavalieri commented 3 weeks ago

If I'm writing an annotation in a function's signature the LS will suggest me autocompletions for values instead of types, which is not really helpful here. The same happens when writing the return type after the ->

Screenshot 2024-08-24 alle 14 00 29

lpil commented 3 weeks ago

Thank you. My first thought is that this is the code that Gleam has being out-of-date so it can't tell you're writing in the arguments rather than in the function body.