Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-4
-
None
Description
"$it << x"
throws org.codehaus.groovy.syntax.parser.UnexpectedTokenException: expected <identifier>; found '' at unknown location
Note this is a string of the form "$"
{x}" where x is the closure
{it << x}Whilst this is a silly example, there is a real application for this construct which looks like "${{it << x}
.asWritable()}"