[SLC] [KAPT] KT-61916 Fix generation of annotations in annotation arguments
This commit is contained in:
committed by
Space Team
parent
878452bd2b
commit
cf01d2970f
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface A /* a.A*/ {
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
|
||||
public abstract @interface B /* b.B*/ {
|
||||
public abstract a.A param();// param()
|
||||
}
|
||||
|
||||
@b.B(param = @a.A())
|
||||
public final class C /* b.C*/ {
|
||||
public C();// .ctor()
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
// FILE: a/A.kt
|
||||
|
||||
package a
|
||||
|
||||
annotation class A
|
||||
|
||||
|
||||
// FILE: b/B.kt
|
||||
|
||||
package b
|
||||
|
||||
import a.A
|
||||
|
||||
annotation class B(val param: A)
|
||||
|
||||
@B(param = A())
|
||||
class C
|
||||
Reference in New Issue
Block a user