KT-20282 'Move statement up' works incorrectly for statement after 'finally' block if 'try' block contains closure
This commit is contained in:
committed by
Nikolay Krasko
parent
d3b1b7a5be
commit
9d6b36c249
@@ -0,0 +1,10 @@
|
||||
// MOVE: up
|
||||
fun test(i: Int) {
|
||||
if (i == 1) {
|
||||
run {
|
||||
}
|
||||
} else if (i == 2) {
|
||||
} else if (i == 3) {
|
||||
}
|
||||
<caret>println()
|
||||
}
|
||||
Reference in New Issue
Block a user