[swift-evolution] Type-based ‘private’ access within a file

BJ Homer bjhomer at gmail.com
Fri Apr 7 10:06:56 CDT 2017


> It does not remove the scoped access control, it only relaxes it in extensions to types in the same file.

Many of the use cases for scoped access given during the review of SE-0159 specifically related to restricting access between extensions in the same file. I don't personally use this, but it seems it is definitely used by some developers. 

-BJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170407/66b41e23/attachment.html>


More information about the swift-evolution mailing list