Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect character position shown in error message #1

Open
peterentwistle opened this issue Dec 30, 2017 · 0 comments
Open

Incorrect character position shown in error message #1

peterentwistle opened this issue Dec 30, 2017 · 0 comments
Assignees
Labels

Comments

@peterentwistle
Copy link
Member

peterentwistle commented Dec 30, 2017

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

@peterentwistle peterentwistle self-assigned this Dec 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant