Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.0
-
Fix Version/s: 1.8.1, 1.9-beta-1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
For reference : http://groovy.329449.n5.nabble.com/Revisiting-guice-injection-with-Groovy-1-8-td4387777.html
The @Field AST transformation creates a FieldNode but forgets to put the other possible annotations on the generated field. For example, in the following code :
@Awesome @Field def test
The @Awesome annotation is lost.
Issue Links
- relates to
-
GROOVY-6112
Support AST transforms on the field generated by @Field in scripts
-