@@ -4645,8 +4645,10 @@ merge(Compressor.prototype, {
|
||||
var init;
|
||||
if (fixed instanceof AST_This) {
|
||||
if (!(d.orig[0] instanceof AST_SymbolFunarg)
|
||||
&& all(d.references, function(ref) {
|
||||
&& all(d.references, d.scope.is_block_scope() ? function(ref) {
|
||||
return d.scope === ref.scope;
|
||||
} : function(ref) {
|
||||
return d.scope === ref.scope.get_defun_scope();
|
||||
})) {
|
||||
init = fixed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user