You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to let users have Roc give their functions an inferred type signature. There are a few ways we want to provide this:
Our LSP should provide two new code actions:
"Add signature" to this value, either at top level or within a function/block
At the top of the file, "Add signatures to all top-level defs" with missing signatures
We also want our formatter to have a new subcommand annotate that will add signatures to all top-level defs in a file with missing signatures. e.g. roc format annotate <file.roc>
The text was updated successfully, but these errors were encountered:
I got distracted by some issues with ranges when desugaring suffixed expressions that cause issues with the language server part of this. I realise it's not necessary to merge the pr though. There's not much left to do so I would still like to finish it up if that's ok @gamebox
We want to let users have Roc give their functions an inferred type signature. There are a few ways we want to provide this:
Our LSP should provide two new code actions:
We also want our formatter to have a new subcommand
annotate
that will add signatures to all top-level defs in a file with missing signatures. e.g.roc format annotate <file.roc>
The text was updated successfully, but these errors were encountered: