Eric Milles created GROOVY-11239:
------------------------------------
Summary: VerifyError for explicit this parameter and default
argument(s)
Key: GROOVY-11239
URL: https://issues.apache.org/jira/browse/GROOVY-11239
Project: Groovy
Issue Type: Bug
Components: Compiler
Affects Versions: 5.0.0-alpha-3
Reporter: Eric Milles
Assignee: Eric Milles
Consider the following:
{code:groovy}
@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) {
}
}
{code}
Loaded class {{Foo}} causes verify error due to generated method call in
{{bar()}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)