The proposal, as it stands, does nothing to indicate how this is much different 
from internal - all examples given would trivially be solved by internal 
members.  I don’t think we need finer-grained access control to address this, I 
think we need extensions, at least in the same file as their parent 
declarations, to be able to define variables.

> On Nov 29, 2016, at 10:24 AM, Gonçalo Alvarez Peixoto via swift-evolution 
> <[email protected]> wrote:
> 
> Hello, everyone!
> 
> I would like to introduce a new proposal to swift evolution, but first I 
> would love to run it by all of you so I get everyone's feedback and enrich it.
> 
> This proposal consists of introducing a new typeprivate access control level 
> which allows for members to be accessed in all extensions of a given type, 
> whether lying within or in another file.
> 
> You'll find the proposal draft in:
> https://github.com/goncaloalvarez/swift-evolution/blob/master/proposals/NNNN-introduce-typeprivate-access-control-level.md
>  
> <https://github.com/goncaloalvarez/swift-evolution/blob/master/proposals/NNNN-introduce-typeprivate-access-control-level.md>
> 
> Thanks in advance for taking the time to evaluate the proposal.
> 
> Best regards,
> Gonçalo
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to