dbb28c571b
Replaces an expression of form x.forEach { … } with for (a in x) { … }.
6 lines
85 B
Kotlin
6 lines
85 B
Kotlin
// WITH_RUNTIME
|
|
fun foo() {
|
|
val x = 1..4
|
|
|
|
<caret>x.forEach { it.equals(1) }
|
|
} |