Skip to content

Line number is wrong when code contains multiline string literals. #25

Description

@felixvf

Consider this Mirah code:

class Foo
    CONST = "a



    b"
end


ERROR_SHOULD_BE_HERE

When compiling, an error should happen at line 11. An error does happen, but erroneously at line 7. This means that, especially for longer Mirah code, the error messages generated by the compiler do not match with the actual code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions