groovy

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.6-beta-1
  • Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
  • Component/s: bytecode
  • Labels:
    None
  • Testcase included:
    yes
  • Number of attachments :
    0

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

Activity

Hide
blackdrag blackdrag added a comment -

fixed

Show
blackdrag blackdrag added a comment - fixed

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: