[
https://issues.apache.org/jira/browse/GROOVY-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King closed GROOVY-2686.
-----------------------------
> 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.20.1#820001)