Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
destructuringInLambda
/
variables.kt
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
}