ipso icon indicating copy to clipboard operation
ipso copied to clipboard

Unicode characters cause incorrect error diagnostics

Open LightAndLight opened this issue 10 months ago • 0 comments

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 = ~
  |          ^

LightAndLight avatar Mar 10 '25 04:03 LightAndLight