Skip to content

Commit

Permalink
Discard changes to crates/swc_ecma_transforms_optimization/src/simpli…
Browse files Browse the repository at this point in the history
…fy/branch/mod.rs
  • Loading branch information
kdy1 authored Jul 31, 2024
1 parent 16d8bbe commit 0653471
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ impl VisitMut for Remover {
if s.exprs.is_empty() {
*e = Expr::dummy();
} else if s.exprs.len() == 1 {
// TODO: preserve PURE comment attached to original
// sequence expression.

// *e = *s.exprs.pop().unwrap();
*e = *s.exprs.pop().unwrap();
}
}

Expand Down

0 comments on commit 0653471

Please sign in to comment.