mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Swift objects can implement Equatable without implementing Hashable. Obj-C NSObject always provides both. Now that we bridge Swift Equatable to Obj-C `-isEqual:`, we have to be conservative with how we expose `-hash` for Swift types that are Equatable but not Hashable. This looks like "incomplete hashing" of such types.
14 KiB
14 KiB