blob: 0024f4c1a0b7357b54abf29621af0116065af551 [file] [log] [blame]
// 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)
}