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

Verify Error on member function in class

    XMLWordPrintableJSON

Details

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

    Description

      class Test {
      count = 0
      static main(args)

      { new Test().f() }

      f()

      { if (count++ == 5) return null else return null }

      }

      throws
      Exception in thread "main" java.lang.VerifyError: (class: Test, method: f signature: ()Ljava/lang/Object Unable to pop operand off an empty stack

      Attachments

        Activity

          People

            jstrachan James Strachan
            tug John Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: