[ https://issues.apache.org/jira/browse/GROOVY-9256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun resolved GROOVY-9256. -------------------------------- Fix Version/s: 3.0.6 4.0.0-alpha-1 Resolution: Fixed > trait qualified-super expressions fail when inside closure > ---------------------------------------------------------- > > Key: GROOVY-9256 > URL: https://issues.apache.org/jira/browse/GROOVY-9256 > Project: Groovy > Issue Type: Bug > Reporter: Eric Milles > Assignee: Eric Milles > Priority: Minor > Fix For: 4.0.0-alpha-1, 3.0.6 > > Time Spent: 20m > Remaining Estimate: 0h > > Consider the following: > {code:groovy} > trait T { > String string = 'value' > } > class C implements T { > void meth() { > { -> > T.super.setString('other') > println T.super.getString() > }() > } > } > new C().meth() > {code} > The addition of a closure within the method causes a breakdown of the > qualified-super method or property access. "MissingPropertyException: No > such property: super for class: T" -- This message was sent by Atlassian Jira (v8.3.4#803005)