cl-interpret: process use items and imports in the interpreter

This commit is contained in:
2025-02-18 21:44:52 -06:00
parent af9c293907
commit edabbe1655
6 changed files with 78 additions and 10 deletions

View File

@@ -68,7 +68,7 @@ impl Callable for Function {
}
let res = body.interpret(&mut frame);
drop(frame);
if let Some(upvars) = env.pop_frame() {
if let Some((upvars, _)) = env.pop_frame() {
self.upvars.replace(upvars);
}
match res {