Files
kotlin-fork/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.kt.txt
T
2022-06-16 06:51:34 +00:00

36 lines
661 B
Plaintext
Vendored

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