Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0-beta-3
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Both groovy.lang.Range and groovy.lang.IntRange need more testing and in particular they should support backwards navigations too.
e.g.
for x in 10..1
{...}for x in big..small {...}
for d in today..lastweek
{...}
What about backwards ranges in combination with strings? Do we want to reverse the string?