[ https://issues.apache.org/jira/browse/GROOVY-11239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles resolved GROOVY-11239. ---------------------------------- Resolution: Fixed https://github.com/apache/groovy/commit/507e4f08860c13e886dc286e6f66c8608d375c34 > 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 > > 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)