Skip to content

AST/Parse: Always delay AvailabilityDomain lookup to type-checking #79656

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

Conversation

tshortli
Copy link
Contributor

This will unblock parsing and type-checking availability queries that specify
custom availability domains, e.g.:

if #available(CustomDomain) {
  // Use declarations protected by @available(CustomDomain)
}

This will unblock parsing and type-checking availability queries that specify
custom availability domains, e.g.:

```
if #available(CustomDomain) {
  // Use declarations protected by @available(CustomDomain)
}
```
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge February 27, 2025 06:53
@tshortli tshortli merged commit e5cd36e into swiftlang:main Feb 27, 2025
3 checks passed
@tshortli tshortli deleted the defer-availability-domain-resolution branch February 27, 2025 15:03
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