Replace with for-each: add new-line if necessary #KT-15858 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-02-16 08:39:07 +03:00
committed by Mikhail Glukhikh
parent ae7f60a96e
commit 7f880bf58c
10 changed files with 102 additions and 3 deletions
@@ -0,0 +1,8 @@
// WITH_RUNTIME
fun foo() {}
fun test() {
<caret>for (l in listOf(1, 2)) {
foo(); foo() // comment
}
}