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

12 lines
119 B
Kotlin
Vendored

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();
}