Replace with for-each: add new-lines using comment saver

Related to KT-15858
This commit is contained in:
Mikhail Glukhikh
2018-02-28 11:25:29 +03:00
parent 7f880bf58c
commit bec28c8388
10 changed files with 27 additions and 25 deletions
@@ -1,4 +1,6 @@
// WITH_RUNTIME
fun main() {
1.rangeTo(2).forEach { x -> x }
1.rangeTo(2).forEach { x ->
x
}
}