pop non-composite terms from iter stack in is_cyclic_term

This commit is contained in:
Mark Thom
2021-02-28 12:28:19 -07:00
parent 101ed9a633
commit 08e2b601f1
2 changed files with 2 additions and 46 deletions

View File

@@ -1749,6 +1749,8 @@ impl MachineState {
fail = true;
break;
}
} else {
iter.stack().pop();
}
}