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

Infinite loop for n = []; println n[-1];

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-6
    • None
    • None
    • Mac OS X Panther 11.3, JDK 1.4.2

    Description

      n = []
      println n[-1]

      causes a (seamingly) infinite loop

      Attachments

        Activity

          People

            spullara Sam Pullara
            jamiemc Jamie McCrindle
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: