[swift-evolution] [Review] SE-0169: Improve Interaction Between private Declarations and Extensions
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...
More information about the swift-evolution