Files
Alexey Sedunov c3d288cce4 Fix "Move statement" for the cases when nested closure is used (KT-3735)
GitOrigin-RevId: 8966b1cec9840f089bceb68ea18da1c74c24745b
2013-07-08 18:16:58 +03:00

8 lines
113 B
Kotlin

// MOVE: down
fun foo(i: Int) {
<caret>run {
}
while (i in run { 1..2 }) {
println(i)
}
}