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

Accessing the implicit parameter of a closure from an inner closure causes a Verify Error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.6-beta-1
    • 1.6-rc-1, 1.5.8, 1.7-beta-1
    • bytecode
    • None

    Description

      def c = { {-> println it}}

      produces

      Caught: java.lang.VerifyError: (class: test$_run_closure1, method: doCall signature: (Ljava/lang/Object;)Ljava/lang/Object Incompatible argument to fun

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            tug John Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: