JVM IR: Take superQualifierSymbols into account when lowering inline classes
This commit is contained in:
committed by
Alexander Udalov
parent
52abc2ae1a
commit
821aca984b
@@ -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))
|
||||
}
|
||||
Reference in New Issue
Block a user