Skip to content

Incorrect character position shown in error message #1

@peterentwistle

Description

@peterentwistle

This issue occurs in the lexing stage when there is no space between the unrecognised token and another token.

Example:

fn test(x: int) -> int {
    return x ^* 3
}

"Error undefined value: "^" at 2:14" but should be 2:13

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions