9 lines
153 B
Kotlin
Vendored
9 lines
153 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
data class XY(val x: Int, val y: Int)
|
|
|
|
fun foo(list: List<XY>) {
|
|
for (element<caret> in list) {
|
|
val (x, y) = element
|
|
}
|
|
} |