Files
kotlin/compiler/testData/codegen/box/callableReference/function/traitImplMethodWithClassReceiver.kt

12 lines
144 B
Kotlin
Vendored

interface T {
fun foo() = "OK"
}
class B : T {
inner class C {
fun bar() = (T::foo)(this@B)
}
}
fun box() = B().C().bar()