Skip to content

Commit eb0f035

Browse files
committed
Remove unused parameter
1 parent 630517b commit eb0f035

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compiler/parser.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2725,7 +2725,7 @@ namespace ts {
27252725
// 1) async[no LineTerminator here]AsyncArrowBindingIdentifier[?Yield][no LineTerminator here]=>AsyncConciseBody[?In]
27262726
// 2) CoverCallExpressionAndAsyncArrowHead[?Yield, ?Await][no LineTerminator here]=>AsyncConciseBody[?In]
27272727
// Production (1) of AsyncArrowFunctionExpression is parsed in "tryParseAsyncSimpleArrowFunctionExpression".
2728-
// And production (2) is parsed in "tryParseParenthesizedArrowFunctionExpression".
2728+
// And production (2) is parsed in "tryParseParenthesizedArrowFunctionExpression".
27292729
//
27302730
// If we do successfully parse arrow-function, we must *not* recurse for productions 1, 2 or 3. An ArrowFunction is
27312731
// not a LeftHandSideExpression, nor does it start a ConditionalExpression. So we are done
@@ -6050,7 +6050,7 @@ namespace ts {
60506050
const saveParseDiagnosticsLength = parseDiagnostics.length;
60516051
const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode;
60526052

6053-
const comment = parseJSDocCommentWorker(start, length, parent);
6053+
const comment = parseJSDocCommentWorker(start, length);
60546054
if (comment) {
60556055
comment.parent = parent;
60566056
}
@@ -6062,7 +6062,7 @@ namespace ts {
60626062
return comment;
60636063
}
60646064

6065-
export function parseJSDocCommentWorker(start: number, length: number, parentNode?: Node): JSDocComment {
6065+
export function parseJSDocCommentWorker(start: number, length: number): JSDocComment {
60666066
const content = sourceText;
60676067
start = start || 0;
60686068
const end = length === undefined ? content.length : start + length;

0 commit comments

Comments
 (0)