Revert #3a81f60 for now
(with it some tests break and it can generate invalid output, see issue #44)
This commit is contained in:
@@ -86,6 +86,7 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user