blob: b1e24ae2b300204993527c15a767dbef6ae6e875 [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) <caret>{
val x = it.x
val y = it.y
println(x + y)
}