You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
769 B
14 lines
769 B
2 years ago
|
diff --git a/node_modules/acorn-node/node_modules/acorn/dist/acorn.js b/node_modules/acorn-node/node_modules/acorn/dist/acorn.js
|
||
|
index 0523f0e..2bb9b56 100644
|
||
|
--- a/node_modules/acorn-node/node_modules/acorn/dist/acorn.js
|
||
|
+++ b/node_modules/acorn-node/node_modules/acorn/dist/acorn.js
|
||
3 years ago
|
@@ -1835,7 +1835,7 @@
|
||
|
if (checkClashes) {
|
||
|
if (has(checkClashes, expr.name))
|
||
|
{ this.raiseRecoverable(expr.start, "Argument name clash"); }
|
||
|
- checkClashes[expr.name] = true;
|
||
2 years ago
|
+ Object.defineProperty(checkClashes, expr.name, { value: true, writable: true, enumerable: true, configurable: true });
|
||
3 years ago
|
}
|
||
|
if (bindingType !== BIND_NONE && bindingType !== BIND_OUTSIDE) { this.declareName(expr.name, bindingType, expr.start); }
|
||
2 years ago
|
break
|