9 lines
116 B
Kotlin
Vendored
9 lines
116 B
Kotlin
Vendored
abstract class Foo<T> {
|
|
fun hello(id: T) = "O$id"
|
|
}
|
|
|
|
class Bar: Foo<String>() {
|
|
}
|
|
|
|
fun box() = Bar().hello("K")
|