Files
kotlin-fork/compiler/testData/diagnostics/tests/override/ObjectDelegationManyImpl.kt
T
2019-02-14 12:31:42 +03:00

13 lines
242 B
Kotlin
Vendored

interface D {
fun foo()
}
interface E {
fun foo() {}
}
object Impl : D, E {
override fun foo() {}
}
val obj: D = <!DELEGATED_MEMBER_HIDES_SUPERTYPE_OVERRIDE, MANY_IMPL_MEMBER_NOT_IMPLEMENTED!>object<!> : D by Impl, E by Impl {}