Files
kotlin-fork/idea/testData/intentions/convertToForEachFunctionCall/noCurlyBraces.kt.after
T
Mikhail Glukhikh bec28c8388 Replace with for-each: add new-lines using comment saver
Related to KT-15858
2018-02-28 11:29:44 +03:00

10 lines
110 B
Plaintext
Vendored

// WITH_RUNTIME
fun foo() {
val list = 1..4
val i = 0
list.forEach { i ->
i
}
i
}