Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: ast builder, parser
-
Labels:None
Description
Bing Ran spotted this...
1> print [1,2].collect{it + 1}
2> execute
null
while this works:
1> list = [1,2]
2> print list.collect{it + 1}
3> execute
[2, 3]
Issue Links
- is depended upon by
-
GROOVY-753
complete parser
-
The new expression parser should fix this. RSN.