(reason)
| 118959 | ts.createFileDiagnosticFromMessageChain(location.file, location.pos, location.end - location.pos, chain, relatedInfo) : |
| 118960 | ts.createCompilerDiagnosticFromMessageChain(chain, relatedInfo); |
| 118961 | function processReason(reason) { |
| 118962 | (fileIncludeReasons || (fileIncludeReasons = [])).push(ts.fileIncludeReasonToDiagnostics(program, reason)); |
| 118963 | if (!locationReason && isReferencedFile(reason)) { |
| 118964 | // Report error at first reference file or file currently in processing and dont report in related information |
| 118965 | locationReason = reason; |
| 118966 | } |
| 118967 | else if (locationReason !== reason) { |
| 118968 | relatedInfo = ts.append(relatedInfo, fileIncludeReasonToRelatedInformation(reason)); |
| 118969 | } |
| 118970 | // Remove fileProcessingReason if its already included in fileReasons of the program |
| 118971 | if (reason === fileProcessingReason) |
| 118972 | fileProcessingReason = undefined; |
| 118973 | } |
| 118974 | } |
| 118975 | function addFilePreprocessingFileExplainingDiagnostic(file, fileProcessingReason, diagnostic, args) { |
| 118976 | (fileProcessingDiagnostics || (fileProcessingDiagnostics = [])).push({ |
no test coverage detected
searching dependent graphs…