ForEach to for-loop intention: smaller range + refactoring

This commit is contained in:
Valentin Kipyatkov
2015-04-28 11:54:42 +03:00
parent ad9317d047
commit cda3344250
5 changed files with 45 additions and 22 deletions
@@ -2,5 +2,5 @@
fun foo() {
val x = 1..4
<caret>x forEach { a -> a }
x <caret>forEach { a -> a }
}