@@ -762,10 +762,11 @@ merge(Compressor.prototype, {
|
||||
return arg || make_node(AST_Undefined, iife);
|
||||
}, visit);
|
||||
});
|
||||
if (fn.rest) scan_declaration(tw, compressor, fn.rest, compressor.option("rests") && function() {
|
||||
return make_node(AST_Array, fn, {
|
||||
var rest = fn.rest;
|
||||
if (rest) scan_declaration(tw, compressor, rest, compressor.option("rests") && function() {
|
||||
return fn.rest === rest ? make_node(AST_Array, fn, {
|
||||
elements: iife.args.slice(fn.argnames.length),
|
||||
});
|
||||
}) : rest;
|
||||
}, visit);
|
||||
walk_lambda(fn, tw);
|
||||
var safe_ids = tw.safe_ids;
|
||||
|
||||
Reference in New Issue
Block a user