Refactor [In] production parameter tracking (#11930)
* refactor: track [In] parameter in prodParam * Apply suggestions from code review
This commit is contained in:
@@ -356,7 +356,7 @@ export default (superClass: Class<Parser>): Class<Parser> =>
|
||||
const node = this.startNode();
|
||||
if (this.eat(tt.braceL)) {
|
||||
this.expect(tt.ellipsis);
|
||||
node.argument = this.parseMaybeAssign();
|
||||
node.argument = this.parseMaybeAssignAllowIn();
|
||||
this.expect(tt.braceR);
|
||||
return this.finishNode(node, "JSXSpreadAttribute");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user