Skip to content

IRGen: Avoid emitting resilient tag indices for unavailable enum cases #66157

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
May 27, 2023

Conversation

tshortli
Copy link
Contributor

When -unavailable-decl-optimization=complete is specified, skip emission of resilient tag indices for enum cases that are marked unavailable with @available.

Resolves rdar://109805050

@tshortli tshortli requested a review from aschwaighofer May 26, 2023 00:02
When `-unavailable-decl-optimization=complete` is specified, skip emission of
resilient tag indices for enum cases that are marked unavailable with
`@available`.

Resolves rdar://109805050
@tshortli tshortli force-pushed the unavailable-resilient-enum-tag branch from 9c29ab1 to af1df92 Compare May 26, 2023 04:56
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli merged commit ce452f7 into swiftlang:main May 27, 2023
@tshortli tshortli deleted the unavailable-resilient-enum-tag branch May 27, 2023 03:50
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