Skip to content

Fixes for @_versioned attribute #11979

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
Sep 18, 2017

Conversation

slavapestov
Copy link
Contributor

Fixes rdar://problem/34342955.

…ations

It looks like at some point derived conformances were in their own
FileUnit, but this is no longer the case.
…ioned enums

The synthesized declarations should inherit the @_versioned attribute
from the type, just like they inherit access control.

Fixes <rdar://problem/34342955>.
@slavapestov
Copy link
Contributor Author

@swift-ci Please smoke test

@slavapestov slavapestov merged commit 110c843 into swiftlang:master Sep 18, 2017
@jrose-apple
Copy link
Contributor

I think the "at least internal" bit goes with the defaulting behavior of SE-0025, not the cross-file thing from Equatable enums.

@jrose-apple
Copy link
Contributor

jrose-apple commented Sep 18, 2017

Also, it's necessary to get the correct behavior for private things, where making the member private is different from making the type private.

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