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

Inconsistent stack height on assignment within closure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0-beta-5
    • 1.0-beta-5
    • None
    • None

    Description

      With latest CVS (3/25/2004):

      1> a = 1
      2> 1.times { if ( it == 1 )

      { a = 2 }

      }
      3> go

      >>> a serious error occurred: (class: CommandLine2$1, method: doCall
      signature: (Ljava/lang/Object;)Ljava/lang/Object Inconsistent stack height 1 != 0
      >>>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: