Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.7-beta-1
-
Fix Version/s: 2.1.x
-
Component/s: None
-
Labels:None
-
Environment:jdk6u10
-
Number of attachments :
Description
(1..3).each {
println it
}
/* yield
1
2
3
*/
But when the range expression is not embraced with brackets
1..3.each {
println it
}
/* yield
3
*/
The issue also exists when we use ..<
Thanks for your investigating the issue.
suspect this should be moved to 3.x but assigning to 2.1.0-rc-1 for review since the current fix version is misleading