Files
kotlin-fork/idea/testData/intentions/addForLoopIndices/inapplicableDestructuringDeclaration.kt
T
2018-06-19 12:48:12 +03:00

7 lines
136 B
Kotlin
Vendored

// IS_APPLICABLE: false
// WITH_RUNTIME
fun test() {
val list = listOf(Pair("foo", "bar"))
for ((x, y) <caret>in list) {
}
}