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

Charles Srstka cocoadev at charlessoft.com
Mon Mar 27 10:08:27 CDT 2017


> On Mar 27, 2017, at 2:17 AM, Jonathan Hull <jhull at gbis.com> wrote:
> 
> Then you could keep it in the same file.  As you said, the helper type is tiny.
> 
> (or once we have submodules, I suppose you could put it somewhere else in the submodule, if desired)
> 
> Thanks,
> Jon

But then the helper type’s contents cannot be encapsulated.

This use case simply cannot be fulfilled without a scoped access modifier.

Charles

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170327/8fd9150f/attachment.html>


More information about the swift-evolution mailing list