Skip to content

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
CPunisher committed Aug 1, 2024
1 parent 64ae905 commit f961343
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,7 @@ impl<'parser> JavascriptParser<'parser> {
ClassMember::StaticBlock(block) => {
let was_top_level = this.top_level_scope;
this.top_level_scope = TopLevelScope::False;
this.walk_block_statement(Statement::Block(&block.body));
this.walk_block_statement(&block.body);
this.top_level_scope = was_top_level;
}
ClassMember::Empty(_) => {}
Expand Down

0 comments on commit f961343

Please sign in to comment.