[ https://issues.apache.org/jira/browse/GROOVY-11184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Milles resolved GROOVY-11184. ---------------------------------- Fix Version/s: 5.0.0-alpha-3 Resolution: Fixed https://github.com/apache/groovy/commit/248ed9ce09fa03a375d6e655aaa160553cdee73b > JSR308: improve support for explicit-this type annotations > ---------------------------------------------------------- > > Key: GROOVY-11184 > URL: https://issues.apache.org/jira/browse/GROOVY-11184 > Project: Groovy > Issue Type: Improvement > Reporter: Eric Milles > Assignee: Eric Milles > Priority: Major > Labels: annotations > Fix For: 5.0.0-alpha-3 > > > 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) { > } > } > {code} > 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)