Files
swift-mirror/test/stdlib/BridgeIdAsAny.swift.gyb
Tim Kientzle 8cc0fe73d7 Allow "incomplete hashing" when testing ObjC bridged objects
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.
2023-10-31 11:37:10 -07:00

14 KiB