Skip to content

Commit

Permalink
Don't pass unused argument
Browse files Browse the repository at this point in the history
This closes #567.
  • Loading branch information
adrianheine authored and marijnh committed Oct 29, 2017
1 parent 020db63 commit d38f9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expression.js
Expand Up @@ -194,7 +194,7 @@ pp.buildBinary = function(startPos, startLoc, left, right, op, logical) {
pp.parseMaybeUnary = function(refDestructuringErrors, sawUnary) {
let startPos = this.start, startLoc = this.startLoc, expr
if (this.inAsync && this.isContextual("await")) {
expr = this.parseAwait(refDestructuringErrors)
expr = this.parseAwait()
sawUnary = true
} else if (this.type.prefix) {
let node = this.startNode(), update = this.type === tt.incDec
Expand Down

0 comments on commit d38f9d8

Please sign in to comment.