JVM_IR: repair overriddenSymbols in InterfaceDelegationLowering
When creating delegation redirectors for default implementations of interface functions, `overriddenSymbols` should be repaired across the whole module, not just a particular file.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// FILE: 1.kt
|
||||
class Test: Impl(), CProvider
|
||||
|
||||
fun box() = "OK"
|
||||
|
||||
// FILE: 2.kt
|
||||
open class C
|
||||
class D: C()
|
||||
|
||||
interface CProvider {
|
||||
fun getC(): C
|
||||
}
|
||||
|
||||
interface DProvider {
|
||||
fun getC(): D = D()
|
||||
}
|
||||
|
||||
open class Impl: DProvider
|
||||
Reference in New Issue
Block a user