Files
kotlin-fork/compiler/testData/diagnostics/tests/subtyping/kt2069.kt
T

15 lines
226 B
Kotlin
Vendored

// FIR_IDENTICAL
//KT-2069 Cannot call super method when superclass has type parameters
package kt2069
interface T1 {
fun foo() {}
}
class T : T1 {
fun bar() {
super<T1>.foo()
}
companion object {}
}