ipso
ipso copied to clipboard
Unicode characters cause incorrect error diagnostics
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 = ~
| ^