(file, start, length, messageChain, relatedInformation)
| 15296 | } |
| 15297 | } |
| 15298 | function createFileDiagnosticFromMessageChain(file, start, length, messageChain, relatedInformation) { |
| 15299 | assertDiagnosticLocation(file, start, length); |
| 15300 | return { |
| 15301 | file: file, |
| 15302 | start: start, |
| 15303 | length: length, |
| 15304 | code: messageChain.code, |
| 15305 | category: messageChain.category, |
| 15306 | messageText: messageChain.next ? messageChain : messageChain.messageText, |
| 15307 | relatedInformation: relatedInformation |
| 15308 | }; |
| 15309 | } |
| 15310 | ts.createFileDiagnosticFromMessageChain = createFileDiagnosticFromMessageChain; |
| 15311 | function createDiagnosticForFileFromMessageChain(sourceFile, messageChain, relatedInformation) { |
| 15312 | return { |
no test coverage detected
searching dependent graphs…