Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2069

CLONE -Empty Range (0..<0) broken in List.getAt(Range)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-2
    • 1.1-beta-3
    • groovy-jdk
    • None

    Description

      def list = [0,1,2,3]
      assert list[0..<0] == [] , 'empty range'// todo: fix (evaluates to [0])

      Attachments

        1. screenshot-1.jpg
          26 kB
          Rael G.C.

        Issue Links

          Activity

            People

              codevise Dierk König
              rael_gc Rael G.C.
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: