e6f4d6e6fa
^KT-65406
37 lines
585 B
Kotlin
Vendored
37 lines
585 B
Kotlin
Vendored
open annotation class TestAnnWithIntArray : Annotation {
|
|
val x: IntArray
|
|
field = x
|
|
get
|
|
|
|
constructor(x: IntArray) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
open annotation class TestAnnWithStringArray : Annotation {
|
|
val x: Array<String>
|
|
field = x
|
|
get
|
|
|
|
constructor(x: Array<String>) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@TestAnnWithIntArray(x = [1, 2, 3])
|
|
@TestAnnWithStringArray(x = ["a", "b", "c"])
|
|
fun test1() {
|
|
}
|
|
|
|
@TestAnnWithIntArray(x = [4, 5, 6])
|
|
@TestAnnWithStringArray(x = ["d", "e", "f"])
|
|
fun test2() {
|
|
}
|
|
|