mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
* Casting from AnyHashable to AnyHashable should never create another wrapper This adds a conformance for _HasCustomAnyHashableRepresentation to AnyHashable that simply returns self. This ensures that anytime you try to create a new AnyHashable wrapper for an existing AnyHashable, you just get back the original. Resolves rdar://75180619 * Move the `Struct AnyHashable` change to `without-asserts` list As suggested by @lorentey