Files
kotlin-fork/idea/testData/intentions/removeForLoopIndices/inapplicableOverridenFunction.kt
T
2016-01-27 19:05:19 +03:00

9 lines
183 B
Kotlin
Vendored

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