mirror of
https://gitee.com/openharmony/third_party_typescript
synced 2024-11-27 00:51:12 +00:00
!494 fix maximum call stack about property access expression jsdoc checking
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled
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:
commit
6f5b63525b
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -31951,7 +31951,7 @@ namespace ts {
|
||||
}
|
||||
}
|
||||
|
||||
let expressionType = checkNonNullExpression(node.expression);
|
||||
let expressionType = checkNonNullExpression(node.expression, checkMode);
|
||||
if (expressionType === silentNeverType) {
|
||||
return silentNeverSignature;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user