mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
21 lines
267 B
Kotlin
Vendored
21 lines
267 B
Kotlin
Vendored
fun box(): String {
|
|
var s = ""
|
|
var foo = "O"
|
|
|
|
fun foo(x: String, z: Int) {
|
|
s += x
|
|
}
|
|
|
|
run {
|
|
fun foo(x: String) {
|
|
s += x
|
|
}
|
|
|
|
{
|
|
foo(foo, 1)
|
|
foo("K")
|
|
} ()
|
|
}
|
|
|
|
return s
|
|
} |