mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 21:29:01 +00:00
parent
0deb027e6b
commit
bc8d4e5876
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ impl UnresolvedReferencesStack {
|
||||||
pub(crate) fn increment_scope_depth(&mut self) {
|
pub(crate) fn increment_scope_depth(&mut self) {
|
||||||
self.current_scope_depth += 1;
|
self.current_scope_depth += 1;
|
||||||
|
|
||||||
// Grow stack if required to ensure `self.stack[self.depth]` is in bounds
|
// Grow stack if required to ensure `self.stack[self.current_scope_depth]` is in bounds
|
||||||
if self.stack.len() <= self.current_scope_depth {
|
if self.stack.len() <= self.current_scope_depth {
|
||||||
self.stack.push(UnresolvedReferences::default());
|
self.stack.push(UnresolvedReferences::default());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue