5 lines
82 B
Kotlin
Vendored
5 lines
82 B
Kotlin
Vendored
fun box() : String {
|
|
fun <T> foo(t:() -> T) : T = t()
|
|
|
|
return foo {"OK"}
|
|
} |