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

21 lines
303 B
Kotlin
Vendored

// !LANGUAGE: +ContextReceivers
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()
super<!UNRESOLVED_LABEL!>@Context<!>.h()
}
}
}