dbb28c571b
Replaces an expression of form x.forEach { … } with for (a in x) { … }.
8 lines
95 B
Plaintext
8 lines
95 B
Plaintext
// WITH_RUNTIME
|
|
fun main() {
|
|
val x = 1..4
|
|
|
|
for (it in x.reverse()) {
|
|
it
|
|
}
|
|
} |