Skip to content

Commit

Permalink
cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jun 12, 2024
1 parent 53a7b81 commit 4d79903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/swc_ecma_minifier/src/compress/optimize/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2967,6 +2967,7 @@ impl VisitMut for Optimizer<'_> {
let var = &mut vars[idx];
var.visit_mut_with(self);

// The varaible is dropped.
if var.name.is_invalid() {
vars.remove(idx);
continue;
Expand Down

0 comments on commit 4d79903

Please sign in to comment.