[JS_IR] Additional check on loop label to not persist name for labeled loop
^KT-42262 fixed
This commit is contained in:
@@ -381,7 +381,7 @@ class NameTables(
|
||||
|
||||
override fun visitBreak(jump: IrBreak) {
|
||||
val loop = jump.loop
|
||||
if (loop != breakableDeque.firstOrNull()) {
|
||||
if (loop.label == null && loop != breakableDeque.firstOrNull()) {
|
||||
persistLoopName(SYNTHETIC_LOOP_LABEL, loop)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user