printer: fix panic in replacements in look-around corner case
Before adoption: this commit came in with the history the project adopted, so no landing records it.
The abstraction boundary fuck up is the gift that keeps on giving. It turns out that the invariant that the match would never exceed the range given is not always true. So we kludge around it. Also, update the CHANGELOG to include the fix for #2111. Fixes #3180
authored by Andrew Gallant · committed by Andrew Gallant · parent 9164158 · Browse files · 3 files+27 added−4 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+27 added−4 removed
- tests:+13 added−0 removed
- other:+14 added−4 removed