Skip to content

AST/Parse: Parse custom availability domain specs in if #available(...) #79628

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
Feb 28, 2025

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Feb 26, 2025

Delay resolution of availability domain identifiers parsed in availability specifications until type-checking. This allows custom domain specifications to be written in if #available queries.

@tshortli tshortli force-pushed the parse-custom-availability-queries branch 3 times, most recently from f0b4e68 to c0500e8 Compare February 27, 2025 20:48
…..)`.

Delay resolution of availability domain identifiers parsed in availability
specifications until type-checking. This allows custom domain specifications to
be written in `if #available` queries.
@tshortli tshortli force-pushed the parse-custom-availability-queries branch from a83ae6b to aaa0e0a Compare February 28, 2025 07:08
@tshortli tshortli changed the title WIP: Parse custom availability queries AST/Parse: Parse custom availability domain specs in if #available(...) Feb 28, 2025
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli marked this pull request as ready for review February 28, 2025 07:11
@tshortli tshortli merged commit ed65963 into swiftlang:main Feb 28, 2025
5 checks passed
@tshortli tshortli deleted the parse-custom-availability-queries branch February 28, 2025 19:21
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