mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 00:21:29 +00:00
14 lines
271 B
Kotlin
14 lines
271 B
Kotlin
fun box(): String {
|
|
return object {
|
|
fun foo(): String {
|
|
val f = {}
|
|
object : Runnable {
|
|
public override fun run() {
|
|
f()
|
|
}
|
|
}
|
|
return "OK"
|
|
}
|
|
}.foo()
|
|
}
|