73799e2c3c
It's done with similar constructions where possible trying to preserve intended behavior. Some usages are removed because they test exactly the feature that we are going to drop soon.
8 lines
149 B
Kotlin
Vendored
8 lines
149 B
Kotlin
Vendored
fun box(): String {
|
|
return apply("OK", { arg: String -> arg })
|
|
}
|
|
|
|
fun apply(arg: String, f: (p: String) -> String): String {
|
|
return f(arg)
|
|
}
|