Skip to content

IDE: avoid merging extensions with @available attributes when synthesizing extensions #27039

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
Sep 5, 2019

Conversation

nkcsgexi
Copy link
Contributor

@nkcsgexi nkcsgexi commented Sep 5, 2019

rdar://54804607

@nkcsgexi
Copy link
Contributor Author

nkcsgexi commented Sep 5, 2019

@swift-ci please smoke test

@jrose-apple
Copy link
Contributor

Strictly speaking you could merge extensions with the same availability, but otherwise good point.

@nkcsgexi
Copy link
Contributor Author

nkcsgexi commented Sep 5, 2019

@jrose-apple That's right. We'd like to land this safe fix for the swift-5.1-branch to avoid omitting availability information. Mind reviewing it for swift-5.1-branch?

@nkcsgexi nkcsgexi requested a review from jrose-apple September 5, 2019 22:59
@jrose-apple
Copy link
Contributor

Does seem strictly better than what was there before, with almost zero risk.

@nkcsgexi nkcsgexi merged commit 160f25b into swiftlang:master Sep 5, 2019
@nkcsgexi nkcsgexi deleted the avoid-merge-availables branch September 5, 2019 23:23
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.

2 participants