aboutsummaryrefslogtreecommitdiff
path: root/book/src
diff options
context:
space:
mode:
authorMichael Davis2022-09-20 07:08:58 +0000
committerGitHub2022-09-20 07:08:58 +0000
commit8988c1ecc757bb4d1c2372d8b8a78bae6a1fd85e (patch)
tree8f720d52da74ef7ca0485d4f7d5adcc62ebe11a8 /book/src
parent947ff63e6d31d7926aff83ebb328e03a10deceb9 (diff)
Re-sort diagnostics after transaction transform (#3895)
Applying document-change transactions to diagnostic ranges is not stable with respect to the ordering of diagnostics. This can cause diagnostics to become temporarily unordered with some edits to a document, which can eventually break some invariants/assumptions in syntax::merge. With this change, Document::diagnostics are always sorted.
Diffstat (limited to 'book/src')
0 files changed, 0 insertions, 0 deletions