@@ -11091,9 +11091,11 @@ merge(Compressor.prototype, {
|
||||
});
|
||||
var scan_scope = new TreeWalker(function(node) {
|
||||
if (reachable) return true;
|
||||
if (node instanceof AST_Scope && node !== self) {
|
||||
var parent = scan_scope.parent();
|
||||
if (parent instanceof AST_Call && parent.expression === node) return;
|
||||
if (node instanceof AST_Lambda && node !== self) {
|
||||
if (!(is_async(node) || is_generator(node))) {
|
||||
var parent = scan_scope.parent();
|
||||
if (parent instanceof AST_Call && parent.expression === node) return;
|
||||
}
|
||||
node.walk(find_ref);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user