This commit is contained in:
infogulch
2023-11-13 15:41:15 -06:00
parent 98d8b00d7a
commit cab80d3fa2

View File

@@ -296,12 +296,11 @@ impl DebrayAllocator {
self.mark_var_in_non_callable(var_num, term_loc, vr, code);
temp_v!(arg)
} else {
match &self.var_data.records[var_num].allocation {
VarAlloc::Perm(_, PermVarAllocation::Pending) => {
if let VarAlloc::Perm(_, PermVarAllocation::Pending) =
&self.var_data.records[var_num].allocation
{
self.mark_var_in_non_callable(var_num, term_loc, vr, code);
}
_ => {}
}
self.increment_running_count(var_num);
RegType::Perm(p)