@@ -45924,9 +45924,6 @@ var ts;
4592445924 // extra cost of calling `getParseTreeNode` when calling these functions from inside the
4592545925 // checker.
4592645926 var checker = {
45927- setSymbolChainCache: function (cache) {
45928- nodeBuilder.setSymbolChainCache(cache);
45929- },
4593045927 getNodeCount: function () { return ts.sum(host.getSourceFiles(), "nodeCount"); },
4593145928 getIdentifierCount: function () { return ts.sum(host.getSourceFiles(), "identifierCount"); },
4593245929 getSymbolCount: function () { return ts.sum(host.getSourceFiles(), "symbolCount") + symbolCount; },
@@ -49703,9 +49700,7 @@ var ts;
4970349700 return !!type.symbol && !!(type.symbol.flags & 32 /* Class */) && (type === getDeclaredTypeOfClassOrInterface(type.symbol) || (!!(type.flags & 524288 /* Object */) && !!(ts.getObjectFlags(type) & 16777216 /* IsClassInstanceClone */)));
4970449701 }
4970549702 function createNodeBuilder() {
49706- var symbolChainCache;
4970749703 return {
49708- setSymbolChainCache: function (cache) { symbolChainCache = cache; },
4970949704 typeToTypeNode: function (type, enclosingDeclaration, flags, tracker) {
4971049705 return withContext(enclosingDeclaration, flags, tracker, function (context) { return typeToTypeNodeHelper(type, context); });
4971149706 },
@@ -49752,7 +49747,6 @@ var ts;
4975249747 fileExists: function (fileName) { return host.fileExists(fileName); },
4975349748 getFileIncludeReasons: function () { return host.getFileIncludeReasons(); },
4975449749 } : undefined },
49755- cache: symbolChainCache,
4975649750 encounteredError: false,
4975749751 reportedDiagnostic: false,
4975849752 visitedTypes: undefined,
@@ -50748,29 +50742,6 @@ var ts;
5074850742 return chain;
5074950743 /** @param endOfChain Set to false for recursive calls; non-recursive calls should always output something. */
5075050744 function getSymbolChain(symbol, meaning, endOfChain) {
50751- var key;
50752- var result;
50753- if (context.cache) {
50754- key = {
50755- symbol: symbol,
50756- enclosingDeclaration: context.enclosingDeclaration,
50757- flags: context.flags,
50758- meaning: meaning,
50759- yieldModuleSymbol: yieldModuleSymbol,
50760- endOfChain: endOfChain
50761- };
50762- result = context.cache.lookup(key);
50763- if (result) {
50764- return result;
50765- }
50766- }
50767- result = doGetSymbolChain(symbol, meaning, endOfChain);
50768- if (result && key && context.cache) {
50769- context.cache.cache(key, result);
50770- }
50771- return result;
50772- }
50773- function doGetSymbolChain(symbol, meaning, endOfChain) {
5077450745 var accessibleSymbolChain = getAccessibleSymbolChain(symbol, context.enclosingDeclaration, meaning, !!(context.flags & 128 /* UseOnlyExternalAliasing */));
5077550746 var parentSpecifiers;
5077650747 if (!accessibleSymbolChain ||
0 commit comments