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

12 lines
115 B
Kotlin

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