mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-10 15:53:46 +00:00
7 lines
81 B
Kotlin
7 lines
81 B
Kotlin
// Derived
|
|
|
|
trait Base {
|
|
val boo: String
|
|
}
|
|
|
|
class Derived(x: Base): Base by x |