roc
roc copied to clipboard
Parse error: Double colon in type annotation
Code:
main :: Str # excess colon
main = "Hello world"
Error:
── NOT END OF FILE ────────────────────────────────────── hello-world/main.roc ─
I expected to reach the end of the file, but got stuck here:
6│ main :: Str
^
I think it would be nice if the message at least prompted about unexpected character.