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