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