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