[swift-evolution] [Review] SE-0169: Improve Interaction Between private Declarations and Extensions

Jordan Rose jordan_rose at apple.com
Fri Apr 7 17:45:12 CDT 2017

> On Apr 7, 2017, at 04:18, Gwendal Roué via swift-evolution <swift-evolution at swift.org> wrote:
> - the private/fileprivate qualifier used not to be a intrinsic property of an object (because one had to move from private to fileprivate as soon as an extension was added). Now private/fileprivate can be made meaningful, and above all *stable*. A scenario where private is turned into a fileprivate now involves something called "friendship" in C++: fileprivate now reflects *actual design intent*, not "shut up this stupid compiler".

I, uh, wish to object to your implication that C++ 'friend' reflects actual design intent in most cases. :-)

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

More information about the swift-evolution mailing list