10 lines
204 B
Kotlin
Vendored
10 lines
204 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
data class XY(val x: String, val y: String)
|
|
fun test(xys: Array<XY>) {
|
|
for (<caret>xy in xys) {
|
|
println(xy.x + xy.y)
|
|
val xyx = xy.x
|
|
println(xyx + xy.y)
|
|
}
|
|
} |