groovy
  1. groovy
  2. GROOVY-70

ranges should support backwards iteration too

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-beta-3
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      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

      {...}

        Activity

        james strachan made changes -
        Field Original Value New Value
        Fix Version/s 1.0-beta-2 [ 10241 ]
        Fix Version/s 1.0-beta-3 [ 10242 ]
        james strachan made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            james strachan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: