Skip to content

Commit

Permalink
fix: Check whether a token is a scalar in interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
anfelor authored and bollu committed Mar 30, 2024
1 parent 21096c5 commit 97b88fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/compiler/ir_interpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ class interpreter {
break;
}
case fn_body_kind::Del: // delete object of unique reference
lean_free_object(var(fn_body_del_var(b)).m_obj);
lean_free_token(var(fn_body_del_var(b)).m_obj);
b = fn_body_del_cont(b);
break;
case fn_body_kind::MData: // metadata; no-op
Expand Down

0 comments on commit 97b88fd

Please sign in to comment.