IR: slightly fix kotlin-like dumping of super qualifiers

This commit is contained in:
Mikhail Glukhikh
2022-06-15 12:04:59 +02:00
committed by Space
parent b0a6508d4b
commit 8ae47d4c4d
35 changed files with 95 additions and 68 deletions
@@ -1,14 +1,14 @@
fun testFun() {
super.#out /*!! PrintStream */.println(p0 = "testFun")
super<System>.#out /*!! PrintStream */.println(p0 = "testFun")
}
var testProp: Any
get(): Any {
super.#out /*!! PrintStream */.println(p0 = "testProp/get")
super<System>.#out /*!! PrintStream */.println(p0 = "testProp/get")
return 42
}
set(value: Any) {
super.#out /*!! PrintStream */.println(p0 = "testProp/set")
super<System>.#out /*!! PrintStream */.println(p0 = "testProp/set")
}
class TestClass {
@@ -21,14 +21,15 @@ class TestClass {
val test: Int
field = when {
else -> { // BLOCK
super.#out /*!! PrintStream */.println(p0 = "TestClass/test")
super<System>.#out /*!! PrintStream */.println(p0 = "TestClass/test")
42
}
}
get
init {
super.#out /*!! PrintStream */.println(p0 = "TestClass/init")
super<System>.#out /*!! PrintStream */.println(p0 = "TestClass/init")
}
}