Skip to content

[ConstraintSystem] Extend availability check to cover unavailable ext… #58466

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 1 commit into from
Apr 28, 2022

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Apr 27, 2022

…ensions

The solver used to check availability attribute on the declaration
itself, a better approach is to go through AvailableAttr::isUnavailable
because that also covers unavailable extensions.

Resolves: rdar://92364955

@xedin xedin requested review from hborla and tshortli April 27, 2022 20:59
…ensions

The solver used to check availability attribute on the declaration
itself, a better approach is to go through `AvailableAttr::isUnavailable`
because that also covers unavailable extensions.

Resolves: rdar://92364955
@xedin
Copy link
Contributor Author

xedin commented Apr 27, 2022

@swift-ci please test

Copy link
Contributor

@tshortli tshortli left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@xedin
Copy link
Contributor Author

xedin commented Apr 27, 2022

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Apr 29, 2022

There is an issue in availability checker that has been exposed by this change so I'm going to back it out from main and 5.7 branch.

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