!494 fix maximum call stack about property access expression jsdoc checking
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled

Merge pull request !494 from liyancheng/cherry-pick-1726918116
This commit is contained in:
openharmony_ci 2024-09-23 02:59:45 +00:00 committed by Gitee
commit 6f5b63525b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
7 changed files with 7 additions and 7 deletions

View File

@ -67191,7 +67191,7 @@ var ts;
error(node.arguments[spreadIndex], ts.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);
}
}
var expressionType = checkNonNullExpression(node.expression);
var expressionType = checkNonNullExpression(node.expression, checkMode);
if (expressionType === silentNeverType) {
return silentNeverSignature;
}

View File

@ -80096,7 +80096,7 @@ var ts;
error(node.arguments[spreadIndex], ts.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);
}
}
var expressionType = checkNonNullExpression(node.expression);
var expressionType = checkNonNullExpression(node.expression, checkMode);
if (expressionType === silentNeverType) {
return silentNeverSignature;
}

View File

@ -80095,7 +80095,7 @@ var ts;
error(node.arguments[spreadIndex], ts.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);
}
}
var expressionType = checkNonNullExpression(node.expression);
var expressionType = checkNonNullExpression(node.expression, checkMode);
if (expressionType === silentNeverType) {
return silentNeverSignature;
}

View File

@ -80086,7 +80086,7 @@ var ts;
error(node.arguments[spreadIndex], ts.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);
}
}
var expressionType = checkNonNullExpression(node.expression);
var expressionType = checkNonNullExpression(node.expression, checkMode);
if (expressionType === silentNeverType) {
return silentNeverSignature;
}

View File

@ -80086,7 +80086,7 @@ var ts;
error(node.arguments[spreadIndex], ts.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);
}
}
var expressionType = checkNonNullExpression(node.expression);
var expressionType = checkNonNullExpression(node.expression, checkMode);
if (expressionType === silentNeverType) {
return silentNeverSignature;
}

View File

@ -80076,7 +80076,7 @@ var ts;
error(node.arguments[spreadIndex], ts.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher);
}
}
var expressionType = checkNonNullExpression(node.expression);
var expressionType = checkNonNullExpression(node.expression, checkMode);
if (expressionType === silentNeverType) {
return silentNeverSignature;
}

View File

@ -31951,7 +31951,7 @@ namespace ts {
}
}
let expressionType = checkNonNullExpression(node.expression);
let expressionType = checkNonNullExpression(node.expression, checkMode);
if (expressionType === silentNeverType) {
return silentNeverSignature;
}