JVM_IR: in InheritedDefaultMethodsOnClassesLowering, skip bridges when resolving overrides
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
|
||||
interface A {
|
||||
val result: String get() = "Fail"
|
||||
}
|
||||
|
||||
interface B : A
|
||||
|
||||
abstract class AImpl : A
|
||||
|
||||
abstract class BImpl : AImpl(), B
|
||||
|
||||
interface C : B {
|
||||
override val result: String get() = "OK"
|
||||
}
|
||||
|
||||
object CImpl : BImpl(), C
|
||||
|
||||
fun box(): String = CImpl.result
|
||||
Reference in New Issue
Block a user