Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6
-
None
-
None
Description
@Category(Distance) class DistanceCategory { Distance plus(Distance increment) { new Distance(number: this.number + increment.number) } }
here this.number is a PropertyExpression and the this needs to be transformed, but is not. The transform uses ClassCodeExpressionTransformer which does not transform the object part in Propoertyxpressions. ResolveVisitor makes use of that class too, so a fix has to take special attention to that