Groovy
  1. Groovy
  2. GROOVY-70

ranges should support backwards iteration too

    Details

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

      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 created issue -
        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 -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12729227 ] Default workflow, editable Closed status [ 12741226 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12967849 ] Default workflow, editable Closed status [ 12975613 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development