Files
kotlin-fork/compiler/testData/diagnostics/tests/delegation/Delegation_Hierarchy.kt
T
2015-05-12 19:43:17 +02:00

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