Files
kotlin-fork/idea/testData/intentions/removeForLoopIndicesIntention/simpleLoopWithIndices.kt
T

6 lines
126 B
Kotlin

//ERROR: Unresolved reference: withIndices
fun foo(bar: List<String>) {
for ((i,<caret>a) in bar.withIndices()) {
}
}