Skip to content

Add line numbers to all errors #47

@PeterKeDer

Description

@PeterKeDer

Currently, some errors contain no line numbers due to some AST not directly containing a Token, which provides the location for the error. Currently, these errors are represented by a RuntimeError with the property location set to ErrorLocation::Unspecified. This can be fixed by adding a Token to all ASTs without one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions