[SR-8244] String equal return different result if I changed the position of parameters #50776
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
standard library
Area: Standard library umbrella
Attachment: Download
Environment
Swift 4.1
XCode Version 9.4.1 (9F2000)
Additional Detail from JIRA
md5: 0c11ed739805f8bc3fcca4d1a45d4a64
Issue Description:
// String equal return different result if I changed the position of parameters
// I don't know if this is a bug ?
////////////////////////////////////////////////////////////
let u0 = "lǚ"
let u1 = "luǒ"
print(u0 == u1) // false
print(u1 == u0) // true
The text was updated successfully, but these errors were encountered: