4c04ad2371
Before this commit, such descriptors have null owners, which causes problems when the getter of the owner property is called.
19 lines
223 B
Kotlin
Vendored
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
|