9 lines
174 B
Plaintext
Vendored
9 lines
174 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
|
|
data class XY(val x: String, val y: String)
|
|
|
|
fun convert(xy: XY, foo: (XY) -> Unit) = foo(xy)
|
|
|
|
fun foo(xy: XY) = convert(xy) { (x, y) ->
|
|
println(x + y)
|
|
} |