Files
kotlin-fork/compiler/testData/codegen/box/super/superCallToNonGenericImplThroughGenericDefaultImpls.kt
T
2020-04-27 11:50:26 +03:00

15 lines
213 B
Kotlin
Vendored

interface A {
fun foo(o: String): String = o + "K"
}
interface B<T> : A
class C : B<Int> {
override fun foo(o: String): String {
return super<B>.foo(o)
}
}
fun box(): String = C().foo("O")