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

5 lines
146 B
Plaintext
Vendored

data class XY(val x: String, val y: String)
fun convert(xy: XY, foo: (XY) -> String) = foo(xy)
fun foo(xy: XY) = convert(xy) { (x, y) -> x + y }