Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Consider the following:
@Retention(RUNTIME) @Target(TYPE_USE) @interface TypeAnno0 { String value() } @Retention(RUNTIME) @Target(TYPE_USE) @interface TypeAnno1 { String value() } class Foo { def bar(@TypeAnno0(value="this") Foo this, @TypeAnno1(value="that") that) { } }
This parses properly and populates the AST with a Parameter instance named "this". However it does not write out the necessary bytecode for the receiver annotaiton.
Attachments
Issue Links
- relates to
-
GROOVY-11239 VerifyError for explicit this parameter and default argument(s)
- Closed