Skip to content

Commit

Permalink
DafnyExtension: fixed bad merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustan Leino committed Aug 18, 2012
1 parent 3c99e0b commit bab175d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Util/VS2010/DafnyExtension/DafnyExtension/ProgressMargin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,11 @@ internal class ProgressTagger : ITagger<ProgressGlyphTag>
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();
Expand Down

0 comments on commit bab175d

Please sign in to comment.