[SLC] [KAPT] KT-61916 Fix generation of annotations in annotation arguments
This commit is contained in:
committed by
Space Team
parent
878452bd2b
commit
cf01d2970f
+61
@@ -0,0 +1,61 @@
|
||||
package a;
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
/**
|
||||
* public final annotation class a/A : kotlin/Annotation {
|
||||
*
|
||||
* // signature: <init>()V
|
||||
* public constructor()
|
||||
*
|
||||
* // module name: main
|
||||
* }
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public abstract @interface A {
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
package b;
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
/**
|
||||
* public final annotation class b/B : kotlin/Annotation {
|
||||
*
|
||||
* // signature: <init>(La/A;)V
|
||||
* public constructor(value: a/A)
|
||||
*
|
||||
* // getter: value()La/A;
|
||||
* public final val value: a/A
|
||||
* public final get
|
||||
*
|
||||
* // module name: main
|
||||
* }
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public abstract @interface B {
|
||||
|
||||
public abstract a.A value();
|
||||
}
|
||||
|
||||
////////////////////
|
||||
|
||||
package b;
|
||||
|
||||
@B(value = @a.A())
|
||||
/**
|
||||
* public final class b/C : kotlin/Any {
|
||||
*
|
||||
* // signature: <init>()V
|
||||
* public constructor()
|
||||
*
|
||||
* // module name: main
|
||||
* }
|
||||
*/
|
||||
@kotlin.Metadata()
|
||||
public final class C {
|
||||
|
||||
public C() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user