From c4b13a217608e1a612a8c4972ed69de7b7bd3b62 Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 27 Jun 2023 17:35:10 -0600 Subject: [PATCH] unify stack variables to streams in unify_constant (#1845) --- src/machine/unify.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/machine/unify.rs b/src/machine/unify.rs index e386b4b0..e73fa4a1 100644 --- a/src/machine/unify.rs +++ b/src/machine/unify.rs @@ -496,7 +496,7 @@ pub(crate) trait Unifier: DerefMut { } (ArenaHeaderTag::Stream, stream) => { read_heap_cell!(value, - (HeapCellValueTag::AttrVar | HeapCellValueTag::Var) => { + (HeapCellValueTag::AttrVar | HeapCellValueTag::Var | HeapCellValueTag::StackVar) => { Self::bind(self, value.as_var().unwrap(), untyped_arena_ptr_as_cell!(ptr)); } (HeapCellValueTag::Atom, (name, arity)) => { -- 2.54.0