@@ -2725,7 +2725,7 @@ namespace ts {
2725
2725
// 1) async[no LineTerminator here]AsyncArrowBindingIdentifier[?Yield][no LineTerminator here]=>AsyncConciseBody[?In]
2726
2726
// 2) CoverCallExpressionAndAsyncArrowHead[?Yield, ?Await][no LineTerminator here]=>AsyncConciseBody[?In]
2727
2727
// Production (1) of AsyncArrowFunctionExpression is parsed in "tryParseAsyncSimpleArrowFunctionExpression".
2728
- // And production (2) is parsed in "tryParseParenthesizedArrowFunctionExpression".
2728
+ // And production (2) is parsed in "tryParseParenthesizedArrowFunctionExpression".
2729
2729
//
2730
2730
// If we do successfully parse arrow-function, we must *not* recurse for productions 1, 2 or 3. An ArrowFunction is
2731
2731
// not a LeftHandSideExpression, nor does it start a ConditionalExpression. So we are done
@@ -6050,7 +6050,7 @@ namespace ts {
6050
6050
const saveParseDiagnosticsLength = parseDiagnostics . length ;
6051
6051
const saveParseErrorBeforeNextFinishedNode = parseErrorBeforeNextFinishedNode ;
6052
6052
6053
- const comment = parseJSDocCommentWorker ( start , length , parent ) ;
6053
+ const comment = parseJSDocCommentWorker ( start , length ) ;
6054
6054
if ( comment ) {
6055
6055
comment . parent = parent ;
6056
6056
}
@@ -6062,7 +6062,7 @@ namespace ts {
6062
6062
return comment ;
6063
6063
}
6064
6064
6065
- export function parseJSDocCommentWorker ( start : number , length : number , parentNode ?: Node ) : JSDocComment {
6065
+ export function parseJSDocCommentWorker ( start : number , length : number ) : JSDocComment {
6066
6066
const content = sourceText ;
6067
6067
start = start || 0 ;
6068
6068
const end = length === undefined ? content . length : start + length ;
0 commit comments