JVM IR: Take superQualifierSymbols into account when lowering inline classes

This commit is contained in:
Steven Schäfer
2020-05-05 17:12:33 +02:00
committed by Alexander Udalov
parent 52abc2ae1a
commit 821aca984b
9 changed files with 49 additions and 2 deletions
@@ -0,0 +1,17 @@
inline class I(val i: Int)
abstract class A {
abstract fun f(i: I): String
}
open class B : A() {
override fun f(i: I): String = "OK"
}
class C : B() {
override fun f(i: I): String = super.f(i)
}
fun box(): String {
return C().f(I(0))
}