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
{{ message }}
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
Right now, reporting errors inside the compiler is really difficult, since I haven't taken the time to properly add spans inside of the parser and the file name isn't tracked inside of the type-checking stage.
There are a few things that would help here:
Investigate thiserror as a more ergonomic way of reporting Error enums.
Track error spans for parser errors and handle error cases inside of the LALRPop file. Alternatively, consider a hand-rolled lexer/parser for more effective error messages if that becomes a huge hassle.
Maintain file name state during the whole compilation pipeline to pass to the codespan reporter.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now, reporting errors inside the compiler is really difficult, since I haven't taken the time to properly add spans inside of the parser and the file name isn't tracked inside of the type-checking stage.
There are a few things that would help here:
The text was updated successfully, but these errors were encountered: