Skip to content
Merged
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
Remove unsafe
  • Loading branch information
ShaharNaveh committed Dec 3, 2025
commit 83c1ff1b783a08c4093d488241d8e466b04318cf
3 changes: 1 addition & 2 deletions crates/codegen/src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -625,8 +625,7 @@ impl Compiler {

// Push the next table onto the stack
self.symbol_table_stack.push(table);
// SAFETY: We just pushed, so it can't be empty
unsafe { self.symbol_table_stack.last().unwrap_unchecked() }
self.current_symbol_table()
}

/// Pop the current symbol table off the stack
Expand Down
Loading