fix call to this.parseMaybeAssign with correct arguments (#133)
This commit is contained in:
parent
8d2fdb1515
commit
9cb73d8e96
@ -101,7 +101,7 @@ pp.toReferencedList = function (exprList) {
|
||||
pp.parseSpread = function (refShorthandDefaultPos) {
|
||||
let node = this.startNode();
|
||||
this.next();
|
||||
node.argument = this.parseMaybeAssign(refShorthandDefaultPos);
|
||||
node.argument = this.parseMaybeAssign(false, refShorthandDefaultPos);
|
||||
return this.finishNode(node, "SpreadElement");
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user