fix exception handling when thrown by throw_exception, and within setup_call_cleanup and call_with_inference_limit.

This commit is contained in:
Mark Thom
2018-02-25 23:43:37 -07:00
parent c133931134
commit 07675b3675
7 changed files with 32 additions and 14 deletions

View File

@@ -71,7 +71,7 @@ pub(super) struct DuplicateBallTerm<'a> {
impl<'a> DuplicateBallTerm<'a> {
pub(super) fn new(state: &'a mut MachineState) -> Self {
let hb = state.heap.len();
DuplicateBallTerm { state: state, heap_boundary: hb }
DuplicateBallTerm { state, heap_boundary: hb }
}
}