8 lines
199 B
Kotlin
Vendored
8 lines
199 B
Kotlin
Vendored
open class Persistent(val p: String)
|
|
interface Hierarchy<T: Persistent > where T : Hierarchy<T>
|
|
|
|
class Location(): Persistent("OK"), Hierarchy<Location>
|
|
|
|
fun box(): String {
|
|
return Location().p
|
|
} |