e6f4d6e6fa
^KT-65406
38 lines
373 B
Kotlin
Vendored
38 lines
373 B
Kotlin
Vendored
open annotation class A : Annotation {
|
|
val x: String
|
|
field = x
|
|
get
|
|
|
|
val y: Int
|
|
field = y
|
|
get
|
|
|
|
constructor(x: String = "", y: Int = 42) /* primary */ {
|
|
super/*Any*/()
|
|
/* <init>() */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@A(x = "abc", y = 123)
|
|
fun test1() {
|
|
}
|
|
|
|
@A(x = "def")
|
|
fun test2() {
|
|
}
|
|
|
|
@A(x = "ghi")
|
|
fun test3() {
|
|
}
|
|
|
|
@A(, y = 456)
|
|
fun test4() {
|
|
}
|
|
|
|
@A
|
|
fun test5() {
|
|
}
|
|
|