ForEach to for-loop intention: smaller range + refactoring
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
// IS_APPLICABLE: false
|
||||
fun foo() {
|
||||
val x = 1..4
|
||||
|
||||
<caret>x forEach { a -> a }
|
||||
}
|
||||
Reference in New Issue
Block a user