dbb28c571b
Replaces an expression of form x.forEach { … } with for (a in x) { … }.
4 lines
74 B
Kotlin
4 lines
74 B
Kotlin
// WITH_RUNTIME
|
|
fun main() {
|
|
<caret>(1 rangeTo 2).forEach { x -> x }
|
|
} |