Files
kotlin-fork/compiler/testData/diagnostics/tests/thisAndSuper/notAccessibleSuperInTrait.kt
T
2015-10-12 14:36:38 +03:00

10 lines
198 B
Kotlin
Vendored

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