Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/annotationsWithDefaultParameterValues.kt.txt
T
2024-02-16 10:19:38 +00:00

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() {
}