JS IR: fix offsets in BlockDecompositionLowering
This commit is contained in:
committed by
Anton Bannykh
parent
600099585d
commit
9462131014
+1
-1
@@ -346,7 +346,7 @@ class BlockDecomposerTransformer(
|
||||
|
||||
val newLoopCondition = newCondition.statements.last() as IrExpression
|
||||
val newLoopBody = IrBlockImpl(
|
||||
newCondition.startOffset,
|
||||
newBody?.startOffset ?: newCondition.startOffset,
|
||||
newBody?.endOffset ?: newCondition.endOffset,
|
||||
newBody?.type ?: unitType
|
||||
).apply {
|
||||
|
||||
Reference in New Issue
Block a user