The intended behavior of AnyHashable hasn’t been hashed out (
). However, two values of arbitrarily mismatched integer types can compare equal in concrete code; it wouldn’t be very nice if they compare not-equal when boxed in AnyHashable…
2 Likes