-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Type checker]: Classes Hashable
and Equatable
synthesis diagnostic
#28633
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
[Type checker]: Classes Hashable
and Equatable
synthesis diagnostic
#28633
Conversation
…mance on Classes 1. Added note for 'Hashable' and 'Equatable' protocol synthesis for classes.
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.
Overall looks good, I have one comment about the diagnostic. Also, this needs tests.
@theblixguy Fixed diagnostic. Updated with tests. |
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.
LGTM.
Let’s run some tests (there might be other test files that need updating). @swift-ci please smoke test |
⛵️ |
SR-11902: Improve Error Message for Auto-synthesized Equatable Conformance on Classes
More information in ticket https://bugs.swift.org/browse/SR-11902
Resolves rdar://57316058