clean up scope-related variables (#4179)
This commit is contained in:
@@ -6778,7 +6778,7 @@ merge(Compressor.prototype, {
|
||||
if (self.args.length == 0) return make_node(AST_Function, self, {
|
||||
argnames: [],
|
||||
body: []
|
||||
}).init_scope_vars(exp.scope);
|
||||
}).init_vars(exp.scope);
|
||||
if (all(self.args, function(x) {
|
||||
return x instanceof AST_String;
|
||||
})) {
|
||||
@@ -9071,7 +9071,7 @@ merge(Compressor.prototype, {
|
||||
self.expression = make_node(AST_Function, self.expression, {
|
||||
argnames: [],
|
||||
body: []
|
||||
}).init_scope_vars(exp.scope);
|
||||
}).init_vars(exp.scope);
|
||||
break;
|
||||
case "Number":
|
||||
self.expression = make_node(AST_Number, self.expression, {
|
||||
|
||||
Reference in New Issue
Block a user