12 lines
167 B
Kotlin
Vendored
12 lines
167 B
Kotlin
Vendored
interface A {
|
|
val result: String
|
|
}
|
|
|
|
class Base(override val result: String) : A
|
|
|
|
open class Derived : A by Base("OK")
|
|
|
|
class Z : Derived()
|
|
|
|
fun box() = Z().result
|