Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.0
-
None
-
None
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.
Attachments
Issue Links
- relates to
-
GROOVY-6112 Support AST transforms on the field generated by @Field in scripts
- Closed