-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[stdlib] RawRepresentable: revert to default _rawHashValue(seed:) #25873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the trouble…
@jrose-apple It was me who introduced this bug -- I tried to be overly clever with single shot hashing. :/ |
Huh, my mistake must have been around something else then. …don't we still have it wrong if they only override |
Yeah, RawRepresentable types that only implement (And they won't even get the usual warning about only implementing hashValue -- we probably should warn if ==/hash(into:)/hashValue do not all come from the same level. Or just warn on hashValue implementations in general?) |
The original sin was adding the generic |
🤦♂️ |
e26805e
to
09bf1f7
Compare
@swift-ci smoke test |
|
@swift-ci smoke test macOS platform |
We still haven't figured that one out yet. :-( |
https://bugs.swift.org/browse/SR-10734
rdar://problem/51319164