This commit is contained in:
Johannes Rieken
2018-10-16 10:46:00 +02:00
parent f757ab42b6
commit 7688411a9c
2 changed files with 26 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ export class DiagnosticCollection implements vscode.DiagnosticCollection {
}
// update single row
this._data.set(first.toString(), diagnostics);
this._data.set(first.toString(), diagnostics.slice());
toSync = [first];
} else if (Array.isArray(first)) {