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

13 lines
204 B
Plaintext
Vendored

// WITH_RUNTIME
fun foo() {
val list = 1..4
list.forEach { x ->
// start of loop
// comment 1
var v = x + 1
// comment 2
v++
// end of loop
}
}