Files
kotlin-fork/idea/testData/intentions/convertToForEachFunctionCall/blockBodyExpression.kt.after
T
2015-12-17 11:11:23 +03:00

8 lines
158 B
Plaintext
Vendored

// WITH_RUNTIME
fun foo() {
// check that original formatting of "x+1" and "1 .. 4" is preserved
(1 .. 4).forEach { x ->
x
x+1
}
}