mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Many of StringCore private APIs, when the StringCore is itself a substring, expect relative offsets rather than absolute offsets. This fixes a bug in the sub-0x300 fast path where we were using absolute offsets. Test cases added.
10 KiB
10 KiB