Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.0-alpha-3
-
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 = null) { } }
Loaded class Foo causes verify error due to generated method call in bar().
Attachments
Issue Links
- is related to
-
GROOVY-11184 JSR308: improve support for explicit-this type annotations
- Closed