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
Right now, errors emitted by the type-checker are simply printed using their Show instance. This is "cringe".
We should provide information about the file, line, and syntactic constructs related to the error. It would be even better to show more context and help/suggestions that can better explain what is wrong with the code.
Currently, the AST does not store any information about the location of the tokens in the source code. This is required to produce error messages after parsing.
The text was updated successfully, but these errors were encountered:
Right now, errors emitted by the type-checker are simply
print
ed using theirShow
instance. This is "cringe".We should provide information about the file, line, and syntactic constructs related to the error. It would be even better to show more context and help/suggestions that can better explain what is wrong with the code.
Currently, the AST does not store any information about the location of the tokens in the source code. This is required to produce error messages after parsing.
The text was updated successfully, but these errors were encountered: