repair linked list

pull/7738/head
Rich Harris 7 years ago
parent bcc736384f
commit d0d9295f1c

@ -118,6 +118,10 @@ export default class FragmentWrapper {
if (!first.data) { if (!first.data) {
first.var = null; first.var = null;
this.nodes.shift(); this.nodes.shift();
if (this.nodes[0]) {
this.nodes[0].prev = null;
}
} }
} }
} }

Loading…
Cancel
Save