Files
kotlin-fork/idea/testData/intentions/iterationOverMap/DataClassTwoDifferentLocals.kt.after
T
2016-10-06 21:16:46 +03:00

10 lines
173 B
Plaintext
Vendored

// WITH_RUNTIME
data class XY(val x: String, val y: Int)
fun test(xys: Array<XY>) {
for ((x) in xys) {
println(x)
val xx = x
println(xx)
}
}