Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Auto-format: cargo fmt --all
  • Loading branch information
github-actions[bot] committed Mar 4, 2026
commit 577f474e95cdb713887ce3ab869b93a8103ff003
6 changes: 4 additions & 2 deletions crates/vm/src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,8 @@ impl ExecutingFrame<'_> {
};
self.push_value(match value {
Some(v) => v,
None => self.cell_ref(i)
None => self
.cell_ref(i)
.get()
.ok_or_else(|| self.unbound_cell_exception(i, vm))?,
});
Expand Down Expand Up @@ -2338,7 +2339,8 @@ impl ExecutingFrame<'_> {
}
Instruction::LoadDeref { i } => {
let idx = i.get(arg) as usize;
let x = self.cell_ref(idx)
let x = self
.cell_ref(idx)
.get()
.ok_or_else(|| self.unbound_cell_exception(idx, vm))?;
self.push_value(x);
Expand Down
Loading