From 724f1e011e6efd48750246de5d01141cd789554e Mon Sep 17 00:00:00 2001 From: Daniel Nalborczyk Date: Thu, 12 Jan 2023 10:18:24 -0500 Subject: [PATCH] Add missing argument --- acorn/src/statement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acorn/src/statement.js b/acorn/src/statement.js index e3673e52a..2ded60627 100644 --- a/acorn/src/statement.js +++ b/acorn/src/statement.js @@ -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() {