Skip to content

Commit

Permalink
refactor: remove refExpressionErrors for record
Browse files Browse the repository at this point in the history
Record is always non-ambiguous.
  • Loading branch information
JLHwung committed Nov 4, 2021
1 parent 647ecd4 commit a28cfbc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/babel-parser/src/parser/expression.js
Expand Up @@ -1136,7 +1136,6 @@ export default class ExpressionParser extends LValParser {
this.state.type === tt.braceBarL ? tt.braceBarR : tt.braceR,
/* isPattern */ false,
/* isRecord */ true,
refExpressionErrors,
);
}
case tt.braceL: {
Expand Down

0 comments on commit a28cfbc

Please sign in to comment.