Move statement: do not move into lambda beyond 'if/when/try/for/while'
#KT-9065 Fixed
This commit is contained in:
committed by
Vladimir Dolzhenko
parent
ee5ecb232a
commit
19824201e2
@@ -0,0 +1,8 @@
|
||||
// MOVE: down
|
||||
fun test() {
|
||||
<caret>println()
|
||||
for (i in 1..10) {
|
||||
run {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user