Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.x
-
None
-
None
Description
This code:
a | b
{it -> true} ()
will be parsed at 2.5.5 as two independent expressions:
a | b { java.lang.Object it -> true}.call()
and will be parsed at 3.0.0-rc-1 as single expression:
a | this.b({ java.lang.Object it -> true }).call()
I believe this expression should be parsed same way in both versions.
Spock depends on structure of ast for these kind of expressions.