@@ -2365,8 +2365,9 @@ merge(Compressor.prototype, {
|
||||
if (expr.operator != "=") break;
|
||||
var lhs = expr.left;
|
||||
if (!(lhs instanceof AST_SymbolRef)) break;
|
||||
if (is_undeclared_ref(lhs)) break;
|
||||
var def = lhs.definition();
|
||||
if (def.scope !== scope) break;
|
||||
if (def.scope !== definitions[0].name.scope) break;
|
||||
var name = make_node(AST_SymbolVar, lhs, lhs);
|
||||
definitions.push(make_node(AST_VarDef, expr, {
|
||||
name: name,
|
||||
|
||||
Reference in New Issue
Block a user