[jira] [Commented] (GROOVY-10219) Closure type for local var is inferred, but unavailable to Closure's contents

2021-09-10 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17413213#comment-17413213 ] Eric Milles commented on GROOVY-10219: -- The dynamic case works thanks to late binding. The value

[jira] [Commented] (GROOVY-10219) Closure type for local var is inferred, but unavailable to Closure's contents

2021-09-09 Thread Svatopluk Dedic (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17412817#comment-17412817 ] Svatopluk Dedic commented on GROOVY-10219: -- Understood. Thanks for the patience / explanation 

[jira] [Commented] (GROOVY-10219) Closure type for local var is inferred, but unavailable to Closure's contents

2021-09-09 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17412779#comment-17412779 ] Eric Milles commented on GROOVY-10219: -- I think this works this way by design. If you have a

[jira] [Commented] (GROOVY-10219) Closure type for local var is inferred, but unavailable to Closure's contents

2021-09-09 Thread Svatopluk Dedic (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17412775#comment-17412775 ] Svatopluk Dedic commented on GROOVY-10219: -- I know ;) But it's not me who has written that

[jira] [Commented] (GROOVY-10219) Closure type for local var is inferred, but unavailable to Closure's contents

2021-09-09 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-10219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17412665#comment-17412665 ] Eric Milles commented on GROOVY-10219: -- Within the closure, you can just have "delegate" or