Skip to content

Sema: Clean up some availability type checking APIs #80043

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 2 commits into from
Mar 16, 2025

Conversation

tshortli
Copy link
Contributor

Retire TypeChecker::overApproximateAvailabilityAtLocation(), ExportContext::getAvailabilityRange(), and ExportContext::isDeprecated() in favor of using methods on AvailabilityContext.

It has been superseded by `AvailabilityContext::forLocation()`.
Just use the `AvailabilityContext` directly.
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge March 16, 2025 16:48
@tshortli tshortli merged commit d566903 into swiftlang:main Mar 16, 2025
3 checks passed
@tshortli tshortli deleted the availability-at-location-cleanup branch March 16, 2025 22:54
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