mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
NSString has a stricter concept of equality than Swift’s String, so it is possible to construct NSDictionary/NSSet instances that contain duplicate keys according to Swift’s definition of string equality. This change improves how we handle these cases by coalescing the duplicate keys (keeping a single value). rdar://problem/35995647
6.5 KiB
6.5 KiB