Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0801cc12da5af28d8009eb66d070f37079ab755d
/
.
/
idea
/
testData
/
intentions
/
destructuringInLambda
/
nullable.kt
blob: d69b15c82ae2d14d4e0de877fd596fee4eb61602 [
file
] [
log
] [
blame
]
// IS_APPLICABLE: false
// WITH_RUNTIME
data
class
XY
(
val x
:
String
,
val y
:
String
)
fun test
(
xys
:
Array
<
XY
?>)
{
xys
.
forEach
{
xy
<caret>
->
val x
=
xy
?.
x
val y
=
xy
?.
y
println
(
x
+
y
)
}
}