Skip to content

Pass -warn-on-potentially-unavailable-enum-case frontend flag when building a module #706

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

slavapestov
Copy link
Contributor

Fixes rdar://problem/78306593.

@slavapestov
Copy link
Contributor Author

swiftlang/swift#37843
@swift-ci Please test

Copy link
Contributor

@davidungar davidungar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK to me!

Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you check isFrontendArgSupported before inserting this flag? swift-driver may work with an earlier version of the compiler.

…ilding a module

Fixes rdar://problem/78306593.
@slavapestov slavapestov force-pushed the unavailable-enum-case-warning branch from fd1590a to 3ebf8b4 Compare June 10, 2021 06:20
@slavapestov
Copy link
Contributor Author

@nkcsgexi Done!

@slavapestov
Copy link
Contributor Author

@swift-ci Please test

Copy link
Contributor

@nkcsgexi nkcsgexi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@slavapestov slavapestov merged commit 3f5f55a into swiftlang:main Jun 10, 2021
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.

4 participants