Files
kotlin-fork/compiler/testData/diagnostics/tests/extensions/contextReceivers/superWithContext.kt
T
2021-12-02 20:23:40 +03:00

19 lines
346 B
Kotlin
Vendored

interface Context {
fun h() {}
}
open class A {
open fun f() {}
}
class B : A() {
override fun f() {}
context(Context)
inner class C {
fun g() {
super@B.f()
<!DEBUG_INFO_MISSING_UNRESOLVED!>super<!><!UNRESOLVED_REFERENCE!>@Context<!>.<!DEBUG_INFO_MISSING_UNRESOLVED!>h<!>()
}
}
}