blob: 355543e7bea9a7398f95ccfee9504d690856e1cf [file] [log] [blame]
data class XY(val x: String, val y: String)
fun convert(xy: XY, foo: (XY) -> String) = foo(xy)
fun foo(xy: XY) = convert(xy) { <caret>it ->
val x = it.x
val y = it.y
x + y
}