wip: bubbling reserves nodes

This commit is contained in:
Jonathan Kelley committed 2021-11-11 21:50:08 -05:00
1 parent a21020ea57
commit b6262edd53
6 files changed
+135 -137

No files matched your search

+2 -1
View File
@@ -244,7 +244,8 @@ impl<'bump> DiffState<'bump> {
let (old, new) = (self.scopes.wip_head(id), self.scopes.fin_head(id));
self.stack.push(DiffInstruction::Diff { old, new });
self.stack.scope_stack.push(*id);
self.stack.push_nodes_created(0);
let scope = self.scopes.get_scope(id).unwrap();
self.stack.element_stack.push(scope.container);
self.work(|| false);
}