Files
kotlin-fork/compiler/testData/diagnostics/tests/subtyping/kt2069.kt
T
2015-05-12 19:43:17 +02:00

14 lines
209 B
Kotlin
Vendored

//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 {}
}