To duplicate, uncomment test1 in the attached
MiscTests file.
net.janino.Java$CompileException: File C:\apps\janino-
1.0.7\tests\src\MiscTests.java, Line 19, Column 22:
Method name "size" cannot be used in this context
Removed unnecessary check for "TYPE.METHOD" and
"EXPRESSION.METHOD" in "AmbiguousName.uncachedReclassify()".
(Method invocations are already identified in
"Parser.parsePrimary()".)
Will release in 1.0.9.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=865893
The attachment "MiscTests" is missing. Can't reproduce the
problem without that file.
The CompileException that you describe should only appear
when you write a method name without an immediately
following "(", e.g.
pkg1.pkg2.clazz.var.var.method(...
Logged In: YES
user_id=865893
Removed unnecessary check for "TYPE.METHOD" and
"EXPRESSION.METHOD" in "AmbiguousName.uncachedReclassify()".
(Method invocations are already identified in
"Parser.parsePrimary()".)
Will release in 1.0.9.