File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14718,20 +14718,20 @@ namespace ts {
14718
14718
checkGrammarForAtLeastOneTypeArgument(node, typeArguments);
14719
14719
}
14720
14720
14721
- function checkGrammarForOmittedArgument(node: CallExpression, arguments : NodeArray<Expression>): boolean {
14722
- if (arguments ) {
14721
+ function checkGrammarForOmittedArgument(node: CallExpression, args : NodeArray<Expression>): boolean {
14722
+ if (args ) {
14723
14723
let sourceFile = getSourceFileOfNode(node);
14724
- for (let arg of arguments ) {
14724
+ for (let arg of args ) {
14725
14725
if (arg.kind === SyntaxKind.OmittedExpression) {
14726
14726
return grammarErrorAtPos(sourceFile, arg.pos, 0, Diagnostics.Argument_expression_expected);
14727
14727
}
14728
14728
}
14729
14729
}
14730
14730
}
14731
14731
14732
- function checkGrammarArguments(node: CallExpression, arguments : NodeArray<Expression>): boolean {
14733
- return checkGrammarForDisallowedTrailingComma(arguments ) ||
14734
- checkGrammarForOmittedArgument(node, arguments );
14732
+ function checkGrammarArguments(node: CallExpression, args : NodeArray<Expression>): boolean {
14733
+ return checkGrammarForDisallowedTrailingComma(args ) ||
14734
+ checkGrammarForOmittedArgument(node, args );
14735
14735
}
14736
14736
14737
14737
function checkGrammarHeritageClause(node: HeritageClause): boolean {
You can’t perform that action at this time.
0 commit comments