Files
kotlin-fork/compiler/testData/diagnostics/tests/delegation/Delegation_Hierarchy.kt
T

13 lines
136 B
Kotlin
Vendored

// FIR_IDENTICAL
interface A {
fun foo() {}
}
open class B(a: A) : A by a
class C(a: A): B(a), A {
}
fun b(c: C) {
c.foo();
}