Skip to content

AST: Split AvailabilityConstraint classifications into separate Reason and Kind enums #79326

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 3 commits into from
Feb 12, 2025

Conversation

tshortli
Copy link
Contributor

Some uses of AvailabilityConstraint only care what kind of constraint it is (whether it represents "unavailability" or just "potential unavailability") and other uses care about exactly what caused the constraint. Introduce a distinction between the reason for the constraint and the kind of constraint it is.

@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge February 12, 2025 17:11
@tshortli tshortli merged commit c8d77c6 into swiftlang:main Feb 12, 2025
3 checks passed
@tshortli tshortli deleted the availability-constraint-reason branch February 12, 2025 22:00
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.

1 participant