restore correct order to term_variables/2 (#1400, #1401)

This commit is contained in:
Mark Thom
2022-04-06 08:39:16 -06:00
parent 3b6138eaaa
commit d952b7ace8

View File

@@ -4919,7 +4919,7 @@ impl Machine {
let outcome = heap_loc_as_cell!(
filtered_iter_to_heap_list(
&mut self.machine_st.heap,
seen_set.into_iter().rev(),
seen_set.into_iter(),
|heap, value| {
heap_bound_store(
heap,