From a32994abd3a538cdd364e8d07a393faccc1ebdd5 Mon Sep 17 00:00:00 2001 From: Daniel Nalborczyk Date: Thu, 22 Dec 2022 18:08:37 -0500 Subject: [PATCH] Remove unused argument --- acorn/src/expression.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acorn/src/expression.js b/acorn/src/expression.js index 9c2bff515..27e27ac36 100644 --- a/acorn/src/expression.js +++ b/acorn/src/expression.js @@ -774,7 +774,7 @@ pp.parseProperty = function(isPattern, refDestructuringErrors) { if (!isPattern && !containsEsc && this.options.ecmaVersion >= 8 && !isGenerator && this.isAsyncProp(prop)) { isAsync = true isGenerator = this.options.ecmaVersion >= 9 && this.eat(tt.star) - this.parsePropertyName(prop, refDestructuringErrors) + this.parsePropertyName(prop) } else { isAsync = false }