You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Continuation of #337, in #505 we restricted the key types to HasStableHash types, but types like NSArray<NSView> are still incorrectly considered stably hashable.
The text was updated successfully, but these errors were encountered:
I looked at the classes in Apple's frameworks that is used as the T inside NSSet<T> or the K inside NSDictionary<K, V>; it's a non-trivial amount of things (even if we discount type-aliases to NSString), so I think we have to do this automatically.
Maybe an approach could be to generate implementations based on whether the type is used anywhere as such? Since that's very strong evidence that the type is valid to use in a hashing collection.
Continuation of #337, in #505 we restricted the key types to
HasStableHash
types, but types likeNSArray<NSView>
are still incorrectly considered stably hashable.The text was updated successfully, but these errors were encountered: