@@ -11562,16 +11562,14 @@ merge(Compressor.prototype, {
|
||||
node = parent;
|
||||
parent = compressor.parent(level++);
|
||||
if (parent instanceof AST_Assign) {
|
||||
var found = false;
|
||||
if (parent.left instanceof AST_SymbolRef && parent.left.definition() === def) {
|
||||
if (in_try(level, parent)) break;
|
||||
return strip_assignment(def);
|
||||
}
|
||||
if (parent.left.match_symbol(function(node) {
|
||||
if (node instanceof AST_PropAccess) return true;
|
||||
if (!found && node instanceof AST_SymbolRef && node.definition() === def) {
|
||||
if (in_try(level, parent)) return true;
|
||||
found = true;
|
||||
}
|
||||
})) break;
|
||||
if (!found) continue;
|
||||
return strip_assignment(def);
|
||||
continue;
|
||||
}
|
||||
if (parent instanceof AST_Exit) {
|
||||
if (!local) break;
|
||||
|
||||
Reference in New Issue
Block a user