Replace with for-each: add new-lines using comment saver
Related to KT-15858
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
// WITH_RUNTIME
|
||||
fun main() {
|
||||
1.rangeTo(2).forEach { x -> x }
|
||||
1.rangeTo(2).forEach { x ->
|
||||
x
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user