Files
kotlin-fork/idea/testData/intentions/destructuringInLambda/noItVariables.kt.after
T

10 lines
178 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)
}