Files
kotlin/compiler/testData/codegen/boxWithStdlib/callableReference/function/traitImplMethodWithClassReceiver.kt
2015-05-12 19:43:17 +02:00

12 lines
144 B
Kotlin
Vendored

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