Description
new Object.f{}
produces
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, test.groovy: -1: PARSER BUG: Tried to configure org.codehaus.groovy.ast.expr.ArgumentListExpression with null Node. File: test.groovy @ line -1, column -1.org.codehaus.groovy.antlr.ASTParserException: PARSER BUG: Tried to configure org.codehaus.groovy.ast.expr.ArgumentListExpression with null Node. File: test.groovy @ line -1, column -1.
at org.codehaus.groovy.antlr.AntlrParserPlugin.buildAST(AntlrParserPlugin.java:183)
at org.codehaus.groovy.control.SourceUnit.convert(SourceUnit.java:313)
at org.codehaus.groovy.control.CompilationUnit$3.call(CompilationUnit.java:615)
The method call taking a closure seems to be needed to trigger this bug