Skip to content

Commit

Permalink
fix: Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
can-keklik committed Dec 14, 2024
1 parent e5feeb7 commit 79fb12c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lykiadb-server/src/engine/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,11 +416,11 @@ impl VisitorMut<RV, HaltReason> for Interpreter {
for arg in args.iter() {
args_evaluated.push(self.visit_expr(arg)?);
}
// self.loop_stack.push_fn();
self.loop_stack.push_fn();

let val = callable.call(self, args_evaluated.as_slice());

// self.loop_stack.pop_fn();
self.loop_stack.pop_fn();

match val {
Err(HaltReason::Return(ret_val)) => Ok(ret_val),
Expand Down

0 comments on commit 79fb12c

Please sign in to comment.