41a416da60
Delete all test methods (and empty test classes), since they'll be auto-generated
15 lines
221 B
Kotlin
15 lines
221 B
Kotlin
open class A<R> {
|
|
open fun foo(r: R): R {return r}
|
|
}
|
|
|
|
open class B : A<String>() {
|
|
}
|
|
|
|
open class C : B() {
|
|
override fun foo(r: String): String {
|
|
return super.foo(r) + "K"
|
|
}
|
|
}
|
|
|
|
fun box() = C().foo("O")
|