-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix off-by-one error in annotated string concat (#51803)
A new unit test is also added for the edge-case found, and a few details of the test string adjusted to make it easier to reason about at a glance. ----- This seems to have slipped into #49586 when the `annotatedstring` function had to be refactored to no longer use `eachstyle` (which was moved into the stdlib), and escaped the unit tests for index corectness.
- Loading branch information
Showing
2 changed files
with
16 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters