Skip to content

Update for SE-0025 ('private' and 'fileprivate') #134

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
Jul 11, 2016

Conversation

jrose-apple
Copy link
Contributor

SE-0025 makes private restrict access to a lexical scope; the Swift 2 behavior is now named fileprivate. At the time of this pull request, the compiler treats both private and fileprivate as having fileprivate semantics, but that will soon change.

Supersedes #124; the latest amendment to SE-0025 permits some accesses that the original model (or at least our interpretation of it) would have forbidden.

@jrose-apple
Copy link
Contributor Author

cc @mike-ferris-apple, @modocache

@mike-ferris
Copy link

Looks reasonable to me...

@mike-ferris
Copy link

@swift-ci please test

@modocache
Copy link
Contributor

tim-cook-gold-macbook

Looks good to me -- thanks @jrose-apple!

@modocache modocache merged commit 8242631 into swiftlang:master Jul 11, 2016
@jrose-apple jrose-apple deleted the fileprivate branch July 11, 2016 23:37
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.

3 participants