fix node type for data parsing
This commit is contained in:
parent
1b411e31eb
commit
f85b759a82
|
@ -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>>())
|
||||
|
|
Loading…
Reference in New Issue