Fixed wrong test
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// IS_APPLICABLE: false
|
||||
// IS_APPLICABLE: true
|
||||
// WITH_RUNTIME
|
||||
|
||||
data class XY(val x: Int, val y: Int)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
// IS_APPLICABLE: true
|
||||
// WITH_RUNTIME
|
||||
|
||||
data class XY(val x: Int, val y: Int)
|
||||
fun test(xys: Array<XY>) {
|
||||
for ((x, y1) in xys) {
|
||||
println(x)
|
||||
val y = y1 + x
|
||||
println(y)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user