Files
kotlin/compiler/testData/codegen/box/callableReference/function/traitImplMethodWithClassReceiver.kt
2019-11-19 11:00:09 +03:00

13 lines
174 B
Kotlin
Vendored

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