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,14 @@
|
||||
// MOVE: up
|
||||
fun test(i: Int) {
|
||||
when (i) {
|
||||
1 -> {
|
||||
run {
|
||||
}
|
||||
}
|
||||
2 -> {
|
||||
}
|
||||
3 -> {
|
||||
}
|
||||
}
|
||||
<caret>println()
|
||||
}
|
||||
Reference in New Issue
Block a user