fix node type for data parsing

This commit is contained in:
mos 2024-11-01 10:13:14 +01:00
parent 1b411e31eb
commit f85b759a82
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ impl Writer {
let data_rec = self.data.get(id).ok_or(Error::NotDefined)?;
let data = Node::new(
node.op.clone(),
NodeOp::Data,
data_rec
.iter()
.zip(node.entries.iter().collect::<Vec<&Node>>())