Skip to content

Commit

Permalink
Add missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
dnalborczyk authored and marijnh committed Jan 12, 2023
1 parent 07b52f6 commit 724f1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acorn/src/statement.js
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ pp.parseClassId = function(node, isStatement) {
}

pp.parseClassSuper = function(node) {
node.superClass = this.eat(tt._extends) ? this.parseExprSubscripts(false) : null
node.superClass = this.eat(tt._extends) ? this.parseExprSubscripts(null, false) : null
}

pp.enterClassBody = function() {
Expand Down

0 comments on commit 724f1e0

Please sign in to comment.