From 3a81f60982a7f20ef9bd75b851759793ffe1d270 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Wed, 9 Oct 2013 19:15:09 +0300 Subject: [PATCH] Don't drop_unused before compression. Fix #280, #282 --- lib/compress.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/compress.js b/lib/compress.js index 4dd273b5..3502b23e 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -86,7 +86,6 @@ merge(Compressor.prototype, { before: function(node, descend, in_list) { if (node._squeezed) return node; if (node instanceof AST_Scope) { - node.drop_unused(this); node = node.hoist_declarations(this); } descend(node, this); -- 2.34.1