Eric Milles created GROOVY-11178: ------------------------------------ Summary: JSR 308: constructor call annotations not resolved or available Key: GROOVY-11178 URL: https://issues.apache.org/jira/browse/GROOVY-11178 Project: Groovy Issue Type: Bug Affects Versions: 4.0.15, 5.0.0-alpha-2 Reporter: Eric Milles
Consider the following: {code:groovy} import java.lang.annotation.* @Target(ElementType.TYPE_USE) public @interface A { } Object o = new @A Object() {code} The annotation {{@A}} is added to the AST into the Object type's annotations. However, one resolved, the annotations come from the redirect and so this annotation is left unresolved and unavailable. -- This message was sent by Atlassian Jira (v8.20.10#820010)