mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
underlying NSString when it ends in a high-surrogate code unit The tests did not catch this because they were creating CFString, which, as it turns out, does not perform bounds checking. Replaced the use of CFString with a custom NSString subclass. Swift SVN r19329
5.9 KiB
5.9 KiB