Skip to content

Commit b4d76f9

Browse files
authored
Fix the errors not updated when changing a file to introduce a parse error and then undoing that change. (#68)
Fixes #67
1 parent 2909586 commit b4d76f9

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# v0.13.1
2+
3+
## Bug Fixes
4+
5+
* ([#67](https://github.com/harrisont/fastbuild-vscode/issues/67)) Fix the errors not updated when changing a file to introduce a parse error and then undoing that change.
6+
17
# v0.13.0
28

39
## New Features

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "fastbuild-support",
33
"displayName": "FASTBuild Support",
44
"description": "FASTBuild language support. Includes go-to definition, find references, variable evaluation, syntax errors, etc.",
5-
"version": "0.13.0",
5+
"version": "0.13.1",
66
"preview": true,
77
"publisher": "HarrisonT",
88
"author": {

server/src/parseDataProvider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ export class ParseDataProvider {
5858
});
5959
return Maybe.ok(parseData);
6060
} catch (error) {
61+
this.data.delete(uri.toString());
6162
if (error instanceof Error) {
6263
return Maybe.error(error);
6364
} else {

0 commit comments

Comments
 (0)