Convert foreach to for loop: place caret on the variable declaration

So #KT-7822 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-04-09 04:20:55 +03:00
committed by Mikhail Glukhikh
parent 3221fbdca9
commit 66d738848b
2 changed files with 15 additions and 10 deletions
@@ -2,7 +2,7 @@
fun foo() {
val x = 1..4
for (it in x) {
for (<caret>it in x) {
it.equals(1)
}
}