davidbalbert / Watt

A high performance text editor for macOS.
MIT License
57 stars 2 forks source link

Spans: crash while merging #50

Closed davidbalbert closed 1 year ago

davidbalbert commented 1 year ago

If you have a Spans where upperBound == 3, with a single range 2..<3, and you merge it with another spans that has the same length and a range 0..<3, the merge will fail.