[ 
https://issues.apache.org/jira/browse/GROOVY-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Milles resolved GROOVY-2686.
---------------------------------
    Fix Version/s: 4.0.0-beta-1
       Resolution: Fixed

> Can't call a Closure in a Closure's Delegete
> --------------------------------------------
>
>                 Key: GROOVY-2686
>                 URL: https://issues.apache.org/jira/browse/GROOVY-2686
>             Project: Groovy
>          Issue Type: Sub-task
>          Components: groovy-runtime
>    Affects Versions: 1.5.4
>            Reporter: John Wilson
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 4.0.0-beta-1
>
>
> def c = {foo()}
> c.delegate = [foo: {println "bar"}]
> c()
> Gives a MissingMethodException when trying to call foo() in the closure



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to