ki icon indicating copy to clipboard operation
ki copied to clipboard

Incorrect parsing of negative literals

Open lantiga opened this issue 10 years ago • 0 comments

Negative numeric literals are not parsed correctly. E.g. [-1 -2] gets parsed as vector(-1,2), (def a -1) produces def(1).

Workaround for now is enclose negative numeric literals in a unary minus (-1) form.

lantiga avatar Feb 01 '15 11:02 lantiga