Skip to content

[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

Conversation

kitaisreal
Copy link
Contributor

@kitaisreal kitaisreal commented Dec 7, 2019

SR-11902: Improve Error Message for Auto-synthesized Equatable Conformance on Classes

  1. Added note for 'Hashable' and 'Equatable' protocol synthesis for classes.

More information in ticket https://bugs.swift.org/browse/SR-11902

Resolves rdar://57316058

…mance on Classes

1. Added note for 'Hashable' and 'Equatable' protocol synthesis for classes.
Copy link
Collaborator

@theblixguy theblixguy left a 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.

@kitaisreal
Copy link
Contributor Author

@theblixguy Fixed diagnostic. Updated with tests.

@kitaisreal kitaisreal requested a review from theblixguy December 7, 2019 12:30
@kitaisreal kitaisreal requested a review from theblixguy December 7, 2019 17:36
@kitaisreal kitaisreal requested a review from theblixguy December 7, 2019 18:24
Copy link
Collaborator

@theblixguy theblixguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@theblixguy theblixguy requested a review from CodaFi December 7, 2019 18:47
@theblixguy
Copy link
Collaborator

Let’s run some tests (there might be other test files that need updating).

@swift-ci please smoke test

@kitaisreal kitaisreal requested a review from CodaFi December 9, 2019 19:56
@CodaFi
Copy link
Contributor

CodaFi commented Dec 9, 2019

⛵️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants