@@ -176,30 +176,53 @@ TODO: what are substituted types?
176176 [ ` createFileDiagnostic ` ] [ 10 ] which should get called for all diagnostic errors.
177177
178178<!-- prettier-ignore-start -->
179+ [ 0 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/program.ts#L1926
179180[ 0 ] : < src/compiler/program.ts - function getDiagnosticsProducingTypeChecker >
181+ [ 1 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L40626
180182[ 1] : <src/compiler/checker.ts - function getDiagnosticsWorker>
183+ [ 2 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L40546
181184[ 2] : <src/compiler/checker.ts - function checkSourceFileWorker>
185+ [ 3 ] : https://github.com/microsoft/TypeScript/blob/db9e0079//src/compiler/types.ts#L5091
182186[ 3] : </src/compiler/types.ts - export interface NodeLinks>
183187[ 4] : GLOSSARY.md#statements
184188[ ast] : GLOSSARY.md#statements
189+ [ 5 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L40194
185190[ 5 ] : < src/compiler/checker.ts - function checkSourceElementWorker >
191+ [ 6 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L38138
186192[ 6 ] : < src/compiler/checker.ts - function checkReturnStatement >
193+ [ 7 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts
187194[ 7 ] : < src/compiler/checker.ts - export function getContainingFunction >
195+ [ 8 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/utilities.ts
188196[ 8 ] : < src/compiler/utilities.ts - export function isFunctionLikeKind >
197+ [ 9 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L43738
189198[ 9 ] : < src/compiler/checker.ts - function grammarErrorOnFirstToken >
199+ [ 10 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/utilities.ts#L5960
190200[ 10 ] : < src/compiler/utilities.ts - export function createFileDiagnostic(file: SourceFile, start: number, length: number, message: DiagnosticMessage): DiagnosticWithLocation >
201+ [ 11 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L37216
191202[ 11 ] : < src/compiler/checker.ts - function checkTruthinessExpression >
203+ [ 12 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L17221
192204[ 12 ] : < src/compiler/checker.ts - function checkExpression >
205+ [ 13 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L37076
193206[ 13 ] : < src/compiler/checker.ts - function checkIfStatement >
207+ [ 14 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L33081
194208[ 14 ] : < src/compiler/checker.ts - function checkBinaryLikeExpression >
209+ [ 15 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L17842
195210[ 15 ] : < src/compiler/checker.ts - function isTypeRelatedTo >
211+ [ 16 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L17805
196212[ 16 ] : < src/compiler/checker.ts - function isSimpleTypeRelatedTo >
213+ [ 17 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L17063
197214[ 17 ] : < src/compiler/checker.ts - function checkTypeRelatedTo >
215+ [ 17 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L18240
198216[ 17 ] : < src/compiler/checker.ts - function isRelatedTo >
217+ [ 19 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/types.ts#L5120
199218[ 19 ] : < src/compiler/types.ts - export const enum TypeFlags >
200219[ 20] : GLOSSARY.md#structural-type-system
220+ [ 21 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L18479
201221[ 21 ] : < src/compiler/checker.ts - function isIdenticalTo >
222+ [ 22 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L18758
202223[ 22 ] : < src/compiler/checker.ts - function recursiveTypeRelatedTo >
224+ [ 22 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L18589
203225[ 22 ] : < src/compiler/checker.ts - function eachTypeRelatedToSomeType >
226+ [ 23 ] : https://github.com/microsoft/TypeScript/blob/db9e0079/src/compiler/checker.ts#L18872
204227[ 23 ] : < src/compiler/checker.ts - function structuredTypeRelatedTo >
205228<!-- prettier-ignore-end -->
0 commit comments