blob: 41cc506ee9d6c86d26c36b1898c833576c6b38d2 [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) { (x, y) ->
x + y
}