Parsing of array constructor references
Issue #323
resolved
Using JastAdd 2.3.4
Minimal example:
import java.util.function.IntFunction; aspect Test { public String[] ASTNode.test(IntFunction<String[]> a) { return a.apply(0); } public void ASTNode.test2() { test(String[]::new); } }
Produces this error message:
[java] Problems during JRAG parsing: [java] Error at Test.jrag:9:20: unexpected token "[": [java] test(String[]::new);
Comments (2)
-
-
- changed status to resolved
- Log in to comment
Thank you for the bug report and test case!