From: Mark Thom Date: Wed, 31 Dec 2025 06:16:25 +0000 (-0800) Subject: do not retain attributes in solutions of findall (#3020) X-Git-Url: https://git.sagredo.dev/?a=commitdiff_plain;h=69a367d1c9297bdaa7cc6674a8acf6538be8a205;p=scryer-prolog.git do not retain attributes in solutions of findall (#3020) --- diff --git a/src/machine/system_calls.rs b/src/machine/system_calls.rs index 3a6c321b..edd08cb5 100644 --- a/src/machine/system_calls.rs +++ b/src/machine/system_calls.rs @@ -925,7 +925,7 @@ impl MachineState { &mut self.lifted_heap, ); - let pstr_boundary = copy_term(copy_ball_term, copy_target, AttrVarPolicy::DeepCopy)?; + let pstr_boundary = copy_term(copy_ball_term, copy_target, AttrVarPolicy::StripAttributes)?; Ok(FindallCopyInfo { offset: threshold + lh_offset + 2,