You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
else if (name.kind === SyntaxKind.PropertyAccessExpression) {
1988
1987
left = name.expression;
1989
1988
}
1990
1989
else {
@@ -2013,15 +2012,6 @@ namespace ts {
2013
2012
return undefined;
2014
2013
}
2015
2014
}
2016
-
else if (name.kind === SyntaxKind.ParenthesizedExpression) {
2017
-
// If the expression in parenthesizedExpression is not an entity-name (e.g. it is a call expression), it won't be able to successfully resolve the name.
2018
-
// This is the case when we are trying to do any language service operation in heritage clauses.
2019
-
// By return undefined, the getSymbolOfEntityNameOrPropertyAccessExpression will attempt to checkPropertyAccessExpression to resolve symbol.
2020
-
// i.e class C extends foo()./*do language service operation here*/B {}
2021
-
return isEntityNameExpression(name.expression) ?
2022
-
resolveEntityName(name.expression as EntityNameOrEntityNameExpression, meaning, ignoreErrors, dontResolveAlias, location) :
2023
-
undefined;
2024
-
}
2025
2015
else {
2026
2016
Debug.assertNever(name, "Unknown entity name kind.");
2027
2017
}
@@ -24477,8 +24467,8 @@ namespace ts {
24477
24467
}
24478
24468
}
24479
24469
24480
-
if (entityName.parent.kind === SyntaxKind.ExportAssignment && isEntityNameExpression(<Identifier | PropertyAccessExpression>entityName)) {
0 commit comments