10 lines
191 B
Plaintext
Vendored
10 lines
191 B
Plaintext
Vendored
// WITH_RUNTIME
|
|
|
|
data class XY(val x: String, val y: String)
|
|
fun test(xys: Array<XY>, base: XY) {
|
|
for ((x, y) in xys) {
|
|
if (x == base.x) {
|
|
println(y)
|
|
}
|
|
}
|
|
} |