Files
kotlin/compiler/testData/codegen/box/callableReference/function/traitImplMethodWithClassReceiver.kt
2018-06-28 12:26:41 +02:00

13 lines
170 B
Kotlin
Vendored

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