Added inspection based on RemoveForLoopIndicesIntention
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo(b: List<Int>) : Int {
|
||||
for ((i, <caret>c) in b.withIndex()) {
|
||||
for ((<caret>i, c) in b.withIndex()) {
|
||||
return i
|
||||
}
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user