Files
kotlin-fork/idea/testData/intentions/removeForLoopIndices/inapplicableOverridenFunction.kt
T
2015-07-21 11:37:19 +03:00

10 lines
190 B
Kotlin
Vendored

// WITH_RUNTIME
// IS_APPLICABLE: FALSE
fun Int.withIndex(): List<Pair<Int, Int>> = linkedListOf<Pair<Int, Int>>()
fun foo(s: Int) {
for ((index<caret>, a) in s.withIndex()) {
}
}