@@ -8506,7 +8506,7 @@ merge(Compressor.prototype, {
|
||||
}));
|
||||
return make_node(AST_BlockStatement, self, { body: decl }).optimize(compressor);
|
||||
}
|
||||
if (exact_match ? !branch.expression.has_side_effects(compressor) : branch === default_branch) {
|
||||
if (branch === default_branch || branch === exact_match && !branch.expression.has_side_effects(compressor)) {
|
||||
while (branch = body[body.length - 2]) {
|
||||
if (branch instanceof AST_Default) break;
|
||||
if (!has_declarations_only(branch)) break;
|
||||
|
||||
Reference in New Issue
Block a user