Files
kotlin-fork/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsFromClassHeaderWithAnnotations.kt.txt
T
2020-11-26 00:14:16 +03:00

36 lines
411 B
Plaintext
Vendored

annotation class A : Annotation {
constructor(x: String) /* primary */
val x: String
field = x
get
}
class C {
constructor(x: Int, y: Int) /* primary */ {
TODO("IrDelegatingConstructorCall")
/* InstanceInitializerCall */
}
val x: Int
field = x
@A(x = "C.x.get")
get
var y: Int
field = y
@A(x = "C.y.get")
get
@A(x = "C.y.set")
set
}