JVM_IR: in InheritedDefaultMethodsOnClassesLowering, skip bridges when resolving overrides

This commit is contained in:
Georgy Bronnikov
2020-02-11 17:57:06 +03:00
parent 829e5908d0
commit c71e87068a
9 changed files with 65 additions and 7 deletions
+19
View File
@@ -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