mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(compiler): Fix a bug in OpList.replaceWithMany (#51876)
Fix a bug where replaceWithMany was incorrectly setting the previous item PR Close #51876
This commit is contained in:
parent
4590138639
commit
8f1feb6036
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ export class OpList<OpT extends Op<OpT>> {
|
|||
// Replace `oldOp` with the chain `first` -> `last`.
|
||||
if (oldPrev !== null) {
|
||||
oldPrev.next = first;
|
||||
first.prev = oldOp.prev;
|
||||
first.prev = oldPrev;
|
||||
}
|
||||
|
||||
if (oldNext !== null) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue