9 lines
156 B
Plaintext
Vendored
9 lines
156 B
Plaintext
Vendored
open class Base<T> {
|
|
constructor(x: T)
|
|
val x: T
|
|
}
|
|
class Derived<T : Any> : Base<T> {
|
|
constructor(x: T)
|
|
}
|
|
fun <T : Any> create(x: T): Derived<T>
|