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

14 lines
259 B
Kotlin
Vendored

// FIR_IDENTICAL
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 {}