[FIR] KT-53371, KT-53519: Fix annotations arguments mapping
See: compiler/testData/asJava/lightClasses/ AnnotatedParameterInInnerClassConstructor.kt The muted tests don't work with the (KT-53371, KT-53519)-related changes. During this test happens an attempt to access unresolved annotations via CustomAnnotationTypeAttribute. Discussion: KTIJ-23547
This commit is contained in:
@@ -42,7 +42,7 @@ public static final class Companion /* AnnoWithCompanion.Companion*/ {
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Anno /* Anno*/ {
|
||||
public abstract Anno[] x();// x()
|
||||
public abstract Anno[] x() default {Anno(p = "a"), Anno(p = "b")};// x()
|
||||
|
||||
public abstract java.lang.String p() default "";// p()
|
||||
|
||||
@@ -71,7 +71,7 @@ public abstract @interface AnnotatedAttribute /* AnnotatedAttribute*/ {
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface Deprecated /* Deprecated*/ {
|
||||
public abstract ReplaceWith replaceWith();// replaceWith()
|
||||
public abstract ReplaceWith replaceWith() default @ReplaceWith(expression = "");// replaceWith()
|
||||
|
||||
public abstract java.lang.String message();// message()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user