[SR-2689] String.CharacterView does not shift endIndex correctly #45294
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Environment
Swift 3.0 GM
Swift 08e7963
Additional Detail from JIRA
md5: 4e16ff61b5da4458c56147cc14e0fe85
Issue Description:
See the following snippet. This kind of shifting produces the expected result (referencing the same character) for every index except the pre-prepending endIndex:
The text was updated successfully, but these errors were encountered: