correct reversions after rebase

This commit is contained in:
Mark
2023-06-23 14:13:40 -06:00
parent fcae0d9fcf
commit 612861e010
3 changed files with 251 additions and 43 deletions

View File

@@ -1435,7 +1435,7 @@ impl MachineState {
term_stack.push(Term::Literal(Cell::default(), Literal::try_from(addr).unwrap()));
}
(HeapCellValueTag::Atom, (name, arity)) => {
let h = iter.focus();
let h = iter.focus().value() as usize;
let mut arity = arity;
if iter.heap.len() > h + arity + 1 {