[ https://issues.apache.org/jira/browse/GROOVY-11239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles updated GROOVY-11239: --------------------------------- Fix Version/s: 5.x > 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 > Priority: Major > Fix For: 5.x > > > 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)