Skip to content

Commit

Permalink
Commit changed snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
hyf0 committed Nov 18, 2022
1 parent eb5745d commit 1a2be21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
@@ -1 +1,6 @@
//// [objectSpreadSetonlyAccessor.ts]
({
...{
set foo (_v){}
}
});
1 change: 0 additions & 1 deletion crates/swc_ecma_minifier/src/compress/optimize/mod.rs
Expand Up @@ -2573,7 +2573,6 @@ where
if can_be_removed {
self.changed = true;
report_change!("unused: Dropping an expression without side effect");
tracing::debug!("unused: Dropping \n{}\n", dump(&*expr, false));
dump_change_detail!("unused: Dropping \n{}\n", dump(&*expr, false));
*s = Stmt::Empty(EmptyStmt { span: DUMMY_SP });
return;
Expand Down

0 comments on commit 1a2be21

Please sign in to comment.