13 lines
160 B
Kotlin
Vendored
13 lines
160 B
Kotlin
Vendored
interface D {
|
|
fun foo()
|
|
}
|
|
|
|
interface E {
|
|
fun foo() {}
|
|
}
|
|
|
|
object Impl : D, E {
|
|
override fun foo() {}
|
|
}
|
|
|
|
val obj: D = object : D by Impl, E by Impl {} |