[jira] [Commented] (GROOVY-8764) Closure inside an anonymous class uses wrong outside class instance with @CS

2018-10-08 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16642618#comment-16642618 ] Paul King commented on GROOVY-8764: --- Workaround is to prefix the method call, e.g. {{this.println}}

[jira] [Commented] (GROOVY-8764) Closure inside an anonymous class uses wrong outside class instance with @CS

2018-10-08 Thread Paul King (JIRA)
[ https://issues.apache.org/jira/browse/GROOVY-8764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16641645#comment-16641645 ] Paul King commented on GROOVY-8764: --- This doesn't occur if only the method has @CompileStatic like in