diff options
author | Rustan Leino <leino@microsoft.com> | 2012-08-17 23:48:19 -0700 |
---|---|---|
committer | Rustan Leino <leino@microsoft.com> | 2012-08-17 23:48:19 -0700 |
commit | e5faebfb048135e7bed2f569c290a0e4bbd26841 (patch) | |
tree | 159ce1eb4f21616fd1e600a0594ed2f3502c0673 /Util/VS2010 | |
parent | 5ba949a3cb8a75c13b8f4fb1e85ed22dd39e2815 (diff) |
DafnyExtension: fixed bad merge
Diffstat (limited to 'Util/VS2010')
-rw-r--r-- | Util/VS2010/DafnyExtension/DafnyExtension/ProgressMargin.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Util/VS2010/DafnyExtension/DafnyExtension/ProgressMargin.cs b/Util/VS2010/DafnyExtension/DafnyExtension/ProgressMargin.cs index 648dc6fe..16ed18f4 100644 --- a/Util/VS2010/DafnyExtension/DafnyExtension/ProgressMargin.cs +++ b/Util/VS2010/DafnyExtension/DafnyExtension/ProgressMargin.cs @@ -197,10 +197,11 @@ namespace DafnyLanguage newErrors.Add(new DafnyError(aux.Tok.line - 1, aux.Tok.col - 1, ErrorCategory.AuxInformation, aux.Msg));
}
});
- if (!success) {
- newErrors.Clear();
- newErrors.Add(new DafnyError(0, 0, ErrorCategory.InternalError, "verification process error"));
- }
+ errorListHolder.PopulateErrorList(newErrors, true, snapshot);
+ if (!success) {
+ newErrors.Clear();
+ newErrors.Add(new DafnyError(0, 0, ErrorCategory.InternalError, "verification process error"));
+ }
lock (this) {
bufferChangesPreVerificationStart.Clear();
|