mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Use local symbol rather then target symbol for tracking reused references (#59493)
This commit is contained in:
@@ -8428,6 +8428,9 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
|
||||
introducesError = true;
|
||||
return { introducesError, node, sym };
|
||||
}
|
||||
else {
|
||||
sym = symAtLocation;
|
||||
}
|
||||
}
|
||||
|
||||
if (sym) {
|
||||
|
||||
Reference in New Issue
Block a user