This commit is contained in:
Noah Santschi-Cooney 2018-08-25 23:55:19 +01:00
parent 5fe911e564
commit 8b0d0eb918
No known key found for this signature in database
GPG key ID: 3B22282472C8AE48
2 changed files with 10 additions and 1 deletions

View file

@ -322,7 +322,6 @@ function processErrors(out: string, docURI: string, diagnostics: Map<string, Dia
})
}
//errorFile: string, type: DiagnosticSeverity, line: number, msg: string
function propogateDiagnostic(error: ErrorMatch, diagnostics: Map<string, Diagnostic[]>, hasDirective: boolean, parentURI?: string) {
includeGraph.get(parentURI || error.file).parents.forEach((pair, parURI) => {
const diag: Diagnostic = {