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

10 lines
190 B
Kotlin
Vendored

open class A {
open fun foo() {}
}
interface ATrait : <!TRAIT_WITH_SUPERCLASS!>A<!> {
override fun foo() {
<!SUPERCLASS_NOT_ACCESSIBLE_FROM_TRAIT!>super<A><!>.foo()
}
}