Files
kotlin-fork/idea/testData/intentions/addForLoopIndicesIntention/inapplicableExistingIndices.kt
T

7 lines
156 B
Kotlin

//IS_APPLICABLE: FALSE
//ERROR: Unresolved reference: withIndices
fun b(c: List<String>) {
for ((<caret>indexVariable, d) in c.withIndices()) {
}
}