Skip to content
This repository has been archived by the owner on May 19, 2018. It is now read-only.

Commit

Permalink
fix call to this.parseMaybeAssign with correct arguments (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
danez authored and hzoo committed Sep 20, 2016
1 parent 8d2fdb1 commit 9cb73d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/lval.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
};

Expand Down

0 comments on commit 9cb73d8

Please sign in to comment.