test in the file attached to bug#868686 generates this error:
net.janino.Java$CompileException: File C:\apps\janino- 1.0.7\tests\src\MiscTests.java, Line 41, Column 9: Value of "case" switch label must be of type "int"
Logged In: YES user_id=865893
The rule for the case constant expression type is "must be assignable to the type of the switch expression", not "must be int".
Will be fixed in version 1.0.8.
Log in to post a comment.
Logged In: YES
user_id=865893
The rule for the case constant expression type is "must be
assignable to the type of the switch expression", not "must
be int".
Will be fixed in version 1.0.8.