mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-07 08:31:28 +00:00
12 lines
144 B
Kotlin
Vendored
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()
|