f1eb68c55a
#KT-3579 Obsolete
8 lines
195 B
Kotlin
8 lines
195 B
Kotlin
open class Persistent(val p: String)
|
|
trait Hierarchy<T: Persistent > where T : Hierarchy<T>
|
|
|
|
class Location(): Persistent("OK"), Hierarchy<Location>
|
|
|
|
fun box(): String {
|
|
return Location().p
|
|
} |