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
@@ -6,15 +6,16 @@ class Derived : Base {
}
init {
<this>super.#value = 0
<this>(super<Derived>).#value = 0
}
fun getValue(): Int {
return <this>super.#value
return <this>(super<Base>).#value
}
fun setValue(value: Int) {
<this>super.#value = value
<this>(super<Derived>).#value = value
}
}