diff --git a/App/lib/core/Gen/Call/CallGenMixin.vp b/App/lib/core/Gen/Call/CallGenMixin.vp index 18c5e66..d5e2fc5 100644 --- a/App/lib/core/Gen/Call/CallGenMixin.vp +++ b/App/lib/core/Gen/Call/CallGenMixin.vp @@ -972,8 +972,7 @@ novirtual class CallGenMixin(CallGenBase.CallGenBase): if arg_wf is None or arg_wf.kind() != ast.ASTKind.Name: continue nm_wf: ast.Name* = ast.Name*(arg_wf) if nm_wf.id is None: continue - ent_wf: GenTypes.VarEntry* = self.Gen.VarGen.lookup_var_entry(trans.SymTab, nm_wf.id) - if ent_wf is not None: ent_wf.Freed = 1 + self.Gen.VarGen._FreedMark(self.Gen.VarGen.lookup_var(trans.SymTab, nm_wf.id)) # Default-argument filling: when fewer args than params, fill the gaps; the defaults array is # right-aligned to args (defaults[0] maps to args[offset], offset = param_count - default_count). if can > 0 or (can == 0 and cargs is not None):