Fix "Move statement" for the cases when nested closure is used (KT-3735)

This commit is contained in:
Alexey Sedunov
2013-07-05 15:30:03 +04:00
parent 21fa398380
commit 4a19d4f77b
19 changed files with 206 additions and 28 deletions
@@ -0,0 +1,7 @@
// MOVE: down
fun foo() {
<caret>run {
}
for (i in run { 1..2 }) {
}
}