Uast: property resolve arrayOf in nested annotations (KT-29434)
This commit is contained in:
committed by
xiexed
parent
4ffeff5e6c
commit
a3ea7bcd3b
+7
-4
@@ -1,4 +1,4 @@
|
||||
annotation class Annotation
|
||||
annotation class Annotation(vararg val strings: String)
|
||||
|
||||
@Annotation
|
||||
class A
|
||||
@@ -8,10 +8,13 @@ annotation class AnnotationInner(val value: Annotation)
|
||||
@AnnotationArray(Annotation())
|
||||
class B1
|
||||
|
||||
@AnnotationArray(value = Annotation())
|
||||
@AnnotationArray(value = Annotation("sv1", "sv2"))
|
||||
class B2
|
||||
|
||||
annotation class AnnotationArray(vararg val value: Annotation)
|
||||
|
||||
@AnnotationArray(Annotation())
|
||||
class C
|
||||
@AnnotationArray(Annotation(strings = arrayOf("sar1", "sar2")))
|
||||
class C
|
||||
|
||||
@AnnotationArray(Annotation(strings = ["[sar]1", "[sar]2"]))
|
||||
class C2
|
||||
Reference in New Issue
Block a user