Files
kotlin-fork/compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt
T
Juan Chen 4c04ad2371 FIR: Add bindings for dispatch receiver parameters
Before this commit, such descriptors have null owners, which causes problems when the getter of the owner property is called.
2019-12-27 10:13:44 +03:00

19 lines
223 B
Kotlin
Vendored

// 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