correct for second argument when (is)/2 is a tail call

This commit is contained in:
Mark Thom
2020-05-16 20:22:17 -06:00
parent a38fb41e37
commit 05d3b97eae
3 changed files with 92 additions and 60 deletions

View File

@@ -293,7 +293,9 @@ impl<'a> Allocator<'a> for DebrayAllocator {
(pr, true)
}
r => (r, false),
r => {
(r, false)
}
};
self.mark_reserved_var(var, lvl, cell, term_loc, target, r, is_new_var);