Skip to content

Conversation

tshortli
Copy link
Contributor

@tshortli tshortli commented Jun 7, 2025

When the CustomAvailability experimental feature is enabled, make it an error to specify an unrecognized availability domain name. Also, add these diagnostics to a diagnostic group so that developers can control their behavior when they are warnings.

Resolves rdar://152741624.

…y enabled.

When the CustomAvailability experimental feature is enabled, make it an error
to specify an unrecognized availability domain name. Also, add these
diagnostics to a diagnostic group so that developers can control their behavior
when they are warnings.

Resolves rdar://152741624.
@tshortli
Copy link
Contributor Author

tshortli commented Jun 7, 2025

@swift-ci please smoke test

@tshortli tshortli changed the title AST: Diagnose unrecognized platforms as errors with CustomAvailability enabled. AST: Diagnose unrecognized platforms as errors with CustomAvailability enabled Jun 9, 2025
@tshortli tshortli merged commit 26d589e into swiftlang:main Jun 10, 2025
3 checks passed
@tshortli tshortli deleted the diagnose-unrecognized-availability-domains-as-errors branch June 10, 2025 01:22
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