Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f12c0ef
commit fac7aba
Showing
3 changed files
with
237 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/@babel/parser/lib/index.js b/node_modules/@babel/parser/lib/index.js | ||
index af6952e..4e83782 100644 | ||
--- a/node_modules/@babel/parser/lib/index.js | ||
+++ b/node_modules/@babel/parser/lib/index.js | ||
@@ -7456,7 +7456,7 @@ class StatementParser extends ExpressionParser { | ||
node.expression = this.parseMaybeDecoratorArguments(expr); | ||
this.state.decoratorStack.pop(); | ||
} else { | ||
- node.expression = this.parseMaybeAssign(); | ||
+ node.expression = this.parseExprSubscripts(); | ||
} | ||
|
||
return this.finishNode(node, "Decorator"); |
Oops, something went wrong.