Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.0
-
Fix Version/s: 1.8.1, 1.9-beta-1
-
Component/s: Compiler
-
Labels:None
-
Number of attachments :
Description
We are trying to integrate some parts of the Groovy-Eclipse patch on the Groovy compiler back into the compiler itself. One such change is this.
Before the first line of org.codehaus.groovy.control.ResolveVisitor.transformVariableExpression(VariableExpression), can you add this:
visitAnnotations(ve);
For consistency, this ensures that Annotations on variable expressions are included in transforms.
suggested change applied