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
@@ -0,0 +1,7 @@
// WITH_RUNTIME
// IS_APPLICABLE: false
fun foo() {
val x = 1..4
<caret>x forEach { a -> a }
}