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

Local variable not updated through closure with Groovy shell

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-3
    • 1.0-beta-3
    • None
    • None

    Description

      groovy> a = 1
      groovy> [2].each

      {a=it}

      groovy> a
      groovy>
      1

      Attachments

        Activity

          People

            Unassigned Unassigned
            rodcope Rod Cope
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: