- changed status to resolved
Multiple characters inside character literal causes exception
Issue #181
resolved
Jastadd gives a "hard to debug" error If the user accidentally enters multiple characters inside a character literal. The compiler gives the error:
Error at xxx.jrag: exception occurred while parsing
This error is a pain to debug in large files with many changes. It would be neat if it could give a proper syntax error instead.
To reproduce the problem simply enter the following into an aspect:
syn boolean FIdUse.test() = "foo".equals('bar');
Comments (1)
-
- Log in to comment
Improved lexical error feedback
fixes
#181(bitbucket)→ <<cset 996f4cc365d1>>