33fd82cf45
Replaces an expression of the form “for (i in list) { … }” with an
expression of the form “list.forEach { i -> … }”
4 lines
67 B
Plaintext
4 lines
67 B
Plaintext
// WITH_RUNTIME
|
|
fun main() {
|
|
(1 rangeTo 2).forEach { x -> x }
|
|
} |