[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2020-08-10 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174375#comment-17174375 ] Eric Milles commented on GROOVY-7996: - Oh, I see. So an enhancement that moves the

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2020-08-10 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174369#comment-17174369 ] Paul King commented on GROOVY-7996: --- {{MopAwareChecker}} is just an idea - we'd need t

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2020-08-10 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174337#comment-17174337 ] Eric Milles commented on GROOVY-7996: - [~paulk] Could you open a new ticket that ref

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2020-08-08 Thread Paul King (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17173632#comment-17173632 ] Paul King commented on GROOVY-7996: --- I know this was a while ago, but in hindsight, I

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2019-10-28 Thread Eric Milles (Jira)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961409#comment-16961409 ] Eric Milles commented on GROOVY-7996: - This is a bit of an experiment. If the initi

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821493#comment-16821493 ] Eric Milles commented on GROOVY-7996: - {{VariableScopeVisitor.checkVariableNameForDe

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821458#comment-16821458 ] Eric Milles commented on GROOVY-7996: - If written this way, no error occurs on Groov

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2019-04-18 Thread Eric Milles (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821431#comment-16821431 ] Eric Milles commented on GROOVY-7996: - Since {{void build(Closure callable)}} does n

[jira] [Commented] (GROOVY-7996) Using with method with a closure that references a protected property produces ClassCastException

2016-11-10 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-7996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15653877#comment-15653877 ] Paul King commented on GROOVY-7996: --- I haven't looked into why yet but if the bar field