Files
kotlin-fork/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.fir.kt.txt
T
2024-02-16 10:19:38 +00:00

36 lines
491 B
Kotlin
Vendored

class TestClass {
val test: Int
field = when {
else -> { // BLOCK
#out.println(p0 = "TestClass/test")
42
}
}
get
init {
#out.println(p0 = "TestClass/init")
}
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
}
fun testFun() {
#out.println(p0 = "testFun")
}
var testProp: Any
get(): Any {
#out.println(p0 = "testProp/get")
return 42
}
set(value: Any) {
#out.println(p0 = "testProp/set")
}