Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CyrusNajmabadi committed May 28, 2024
1 parent f181554 commit 260e44c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ static OneOrMany<DocumentSnapshotSpan> GetDocumentSnapshotSpansToTag(
return result.ToOneOrManyAndClear();
}

[Conditional("DEBUG")]
#if DEBUG
static void CheckSnapshot(ITextSnapshot snapshot)
{
var container = snapshot.TextBuffer.AsTextContainer();
Expand All @@ -411,6 +411,7 @@ static void CheckSnapshot(ITextSnapshot snapshot)
Debug.Assert(snapshot.Version.Next == null, "should be on latest snapshot");
}
}
#endif
}

private ImmutableDictionary<ITextBuffer, TagSpanIntervalTree<TTag>> ComputeNewTagTrees(
Expand Down

0 comments on commit 260e44c

Please sign in to comment.