expand parameters
Conflicts: test/compress/harmony.js
This commit is contained in:
committed by
Richard van Velzen
parent
e8664e63ef
commit
9863f0efa3
@@ -1107,6 +1107,9 @@ merge(Compressor.prototype, {
|
||||
break;
|
||||
} else {
|
||||
var sym = a[i];
|
||||
if (sym instanceof AST_Expansion) {
|
||||
sym = sym.symbol;
|
||||
}
|
||||
if (sym.unreferenced()) {
|
||||
a.pop();
|
||||
compressor.warn("Dropping unused function argument {name} [{file}:{line},{col}]", {
|
||||
|
||||
Reference in New Issue
Block a user