mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
7 lines
92 B
Kotlin
7 lines
92 B
Kotlin
// Derived
|
|
|
|
trait Base {
|
|
fun baz(s: String): String
|
|
}
|
|
|
|
class Derived(x: Base): Base by x |