Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
Consider the following:
trait T { String string = 'value' } class C implements T { void meth() { println T.super.string } } new C().meth()
Executing this script results in "MissingProipertyException: No such property: super for class: T". The property can be read using "string", "this.string", "getString()", "this.getString()" and "T.super.getString()". And the property can be written using property notation, setter call, as well as "T.super.string = 'whatever'".
org.codehaus.groovy.transform.trait.SuperCallTraitTransformer lacks a transformation for property read access.