mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
refactor(semantic): Program visitor leave scope before node (#4369)
Bring the order of calls in `SemanticBuilder::visit_program` into line with `Visit`'s `walk_program`.
This commit is contained in:
parent
aece1df561
commit
f7b9ada372
1 changed files with 1 additions and 1 deletions
|
|
@ -563,8 +563,8 @@ impl<'a> Visit<'a> for SemanticBuilder<'a> {
|
|||
control_flow!(self, |cfg| cfg.release_error_harness(error_harness));
|
||||
/* cfg */
|
||||
|
||||
self.leave_node(kind);
|
||||
self.leave_scope();
|
||||
self.leave_node(kind);
|
||||
}
|
||||
|
||||
fn visit_break_statement(&mut self, stmt: &BreakStatement<'a>) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue