-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
In many cases the exception classes do not receive an ASTNode object, therefore the error reporting can not provide a line number of the error (which is not very helpful in many cases):
ResolveVisitor caught error in null: ...
instead of
ResolveVisitor caught error in line 7, char 13: ...
The problem is that those exceptions are thrown inside the Scope class, which does not have any node objects associated, thus there is no node to pass to the exception object.
Any suggestions are appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels