* Gets semantic diagnostics for the file which are * bindAndCheckDiagnostics (from cache) and program diagnostics
(state, sourceFile, cancellationToken)
| 120529 | * bindAndCheckDiagnostics (from cache) and program diagnostics |
| 120530 | */ |
| 120531 | function getSemanticDiagnosticsOfFile(state, sourceFile, cancellationToken) { |
| 120532 | return ts.concatenate(getBinderAndCheckerDiagnosticsOfFile(state, sourceFile, cancellationToken), ts.Debug.checkDefined(state.program).getProgramDiagnostics(sourceFile)); |
| 120533 | } |
| 120534 | /** |
| 120535 | * Gets the binder and checker diagnostics either from cache if present, or otherwise from program and caches it |
| 120536 | * Note that it is assumed that when asked about binder and checker diagnostics, the file has been taken out of affected files/changed file set |
no test coverage detected