33fd82cf45
Replaces an expression of the form “for (i in list) { … }” with an
expression of the form “list.forEach { i -> … }”
3 lines
47 B
Plaintext
3 lines
47 B
Plaintext
fun foo() {
|
|
list.forEach { x -> x.bar() }
|
|
} |