mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Unicode Kelvin sign normalizes to ASCII 'K', but our comparison logic didn't handle this situation when the other side was single-byte all ASCII. Fall back to the slow comparison path if the point of difference between an all-ASCII string and a UTF-16 string falls on such a non-ASCII-yet-normalizes-to-ASCII scalar (rare).
16 KiB
16 KiB