Skip to content

AST/Sema: Introduce SemanticAvailabilitySpec #79566

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 4 commits into from
Feb 23, 2025

Conversation

tshortli
Copy link
Contributor

It wraps a type-checked AvailabilitySpec, which guarantees that the spec has a valid AvailabilityDomain associated with it. This will unblock moving AvailabilitySpec domain resolution from parsing to sema.

…ceRange()`.

Modify it to take an `AvailabilityDomain` and a `DeclContext` which will be
necessary in order to compare `AvailabilitySpec`s in a later refactor.
It wraps an type-checked `AvailabilitySpec`, which guarantees that the spec has
a valid `AvailabilityDomain` associated with it. This will unblock moving
AvailabilitySpec domain resolution from parsing to sema.
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge February 23, 2025 22:01
@tshortli tshortli merged commit 2db13ee into swiftlang:main Feb 23, 2025
3 checks passed
@tshortli tshortli deleted the semantic-availability-spec branch February 24, 2025 00:04
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