summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/DafnyExtension/ProgressMargin.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/DafnyExtension/ProgressMargin.cs b/Source/DafnyExtension/ProgressMargin.cs
index f8afaf13..043445a6 100644
--- a/Source/DafnyExtension/ProgressMargin.cs
+++ b/Source/DafnyExtension/ProgressMargin.cs
@@ -368,8 +368,8 @@ namespace DafnyLanguage
List<SnapshotSpan> pre;
List<SnapshotSpan> post;
lock (this) {
- pre = bufferChangesPreVerificationStart;
- post = bufferChangesPostVerificationStart;
+ pre = bufferChangesPreVerificationStart.ToList();
+ post = bufferChangesPostVerificationStart.ToList();
}
// If the requested snapshot isn't the same as the one our words are on, translate our spans to the expected snapshot