Replace with for-each: add new-lines using comment saver
Related to KT-15858
This commit is contained in:
+3
-1
@@ -2,5 +2,7 @@
|
||||
fun foo() {}
|
||||
|
||||
fun test() {
|
||||
listOf(1, 2).forEach { l -> /* comment */ }
|
||||
listOf(1, 2).forEach { l ->
|
||||
/* comment */
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user