Skip to content

Unicode characters cause incorrect error diagnostics #439

@LightAndLight

Description

@LightAndLight

test.ipso:

test_1 : String
test_1 = "📁 📄 "

test_2 : String
test_2 = ~

Expected output:

$ ipso --check test.ipso
test.ipso:5:4: error: expected one of: constructor, identifier, case, if, true, false, let, comp, integer, '"', ', '{', '(', '[', '\', '`', (|
  |
5 | test_2 = ~
  |    ^

Actual output:

$ ipso --check test.ipso
test.ipso:5:10: error: expected one of: constructor, identifier, case, if, true, false, let, comp, integer, '"', ', '{', '(', '[', '\', '`', (|
  |
5 | test_2 = ~
  |          ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions