repair linked list

pull/1792/head
Rich Harris 6 years ago
parent e5f5995458
commit ae2bf97c90

@ -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