We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unsafe
1 parent e24221b commit 83c1ff1Copy full SHA for 83c1ff1
crates/codegen/src/compile.rs
@@ -625,8 +625,7 @@ impl Compiler {
625
626
// Push the next table onto the stack
627
self.symbol_table_stack.push(table);
628
- // SAFETY: We just pushed, so it can't be empty
629
- unsafe { self.symbol_table_stack.last().unwrap_unchecked() }
+ self.current_symbol_table()
630
}
631
632
/// Pop the current symbol table off the stack
0 commit comments