Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.4, 1.8-beta-1
-
None
-
None
Description
As per the following conversation:
We should make closure calls look like method calls.
So for:
def closure = { it } assert closure(false)
instead of:
assert closure(false) | ConsoleScript1$_run_closure1@575fa5
we should get:
assert closure(false) | false
If one really wans to see the toString() of the closure, he could still do:
assert closure.call(false) | | | false ConsoleScript2$_run_closure1@f1584a