[swift-evolution] [Review] SE-0159: Fix Private Access Levels

Jonathan Hull jhull at gbis.com
Sat Mar 25 08:46:51 CDT 2017


I am confused. Half of my email was about how to encapsulate smaller than the entire submodule using ‘module { }'

> On Mar 25, 2017, at 6:39 AM, Brent Royal-Gordon <brent at architechies.com> wrote:
> 
>> On Mar 25, 2017, at 12:32 AM, Jonathan Hull via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>> 
>> 	• Remove ‘private’ keyword
>> 	• Rename ‘fileprivate’ to ‘local’ with the understanding it now means local to the containing submodule
>> 	• If no submodule is declared, the file is its own anonymous submodule
> 
> 
> This is kind of not the place for a full submodule discussion, but: I don't think a submodule system which doesn't have a unit of encapsulation smaller than the entire submodule is going to work.
> 
> -- 
> Brent Royal-Gordon
> Architechies
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170325/5911de30/attachment.html>


More information about the swift-evolution mailing list