mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fix Hashable conformance of standard integer types so that the number of bits they feed into hasher is exactly Self.bitWidth. This was intended to be part of SE-0206. However, it would have introduced additional issues with AnyHashable. The custom AnyHashable representations introduced in the previous commit unify hashing for numeric types, eliminating the problem.
11 KiB
11 KiB