refactor: remove unecessary checkYieldAwaitInDefaultParams (#10936)
This commit is contained in:
parent
2f3f77926d
commit
0238244268
@ -1821,7 +1821,6 @@ export default class ExpressionParser extends LValParser {
|
||||
(allowDirectSuper ? SCOPE_DIRECT_SUPER : 0),
|
||||
);
|
||||
this.parseFunctionParams((node: any), allowModifiers);
|
||||
this.checkYieldAwaitInDefaultParams();
|
||||
this.parseFunctionBodyAndFinish(node, type, true);
|
||||
this.scope.exit();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user