Skip to content

[CSSimplify] Detect and diagnose conformance failures related to AnyHashable conversion #65806

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

Merged
merged 5 commits into from
May 16, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented May 9, 2023

Failure of an argument to AnyHashable parameter to conform to Hashable
protocol should be detected in simplifyConformsToConstraint and fixed
there.

Doing so requires impact assessment adjustment because regular conformance
requirements have default impact of 1, this is going to have argument
impact of 2 not avoid clashing with other failures.

Resolves: rdar://108977234

…ashable conversion

Failure of an argument to AnyHashable parameter to conform to Hashable
protocol should be detected in `simplifyConformsToConstraint` and fixed
there.

Doing so requires impact assessment adjustment because regular conformance
requirements have default impact of 1, this is going to have argument
impact of 2 not avoid clashing with other failures.
@xedin xedin requested a review from hborla as a code owner May 9, 2023 18:50
@xedin
Copy link
Contributor Author

xedin commented May 9, 2023

@swift-ci please test

@xedin xedin force-pushed the rdar-108977234 branch from e0e8126 to c9c6311 Compare May 9, 2023 21:11
@xedin
Copy link
Contributor Author

xedin commented May 9, 2023

@swift-ci please test

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.

2 participants