CFG: fix label binding for last instruction of finally block
So #KT-18698 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
ab0e734e7d
commit
c0e1b3ef2d
@@ -395,7 +395,7 @@ class PseudocodeImpl(override val correspondingElement: KtElement) : Pseudocode
|
||||
internalSinkInstruction = copy
|
||||
}
|
||||
}
|
||||
if (finishIndex < mutableInstructionList.size) {
|
||||
if (finishIndex < originalPseudocode.mutableInstructionList.size) {
|
||||
repeatLabelsBindingForInstruction(originalPseudocode.mutableInstructionList[finishIndex],
|
||||
originalToCopy,
|
||||
originalLabelsForInstruction)
|
||||
|
||||
Reference in New Issue
Block a user