So are private and/or fileprivate changing to mean "visible within current 
submodule"? Because I specified that baz() is in a type extension, possibly in 
another file. 

-- 
Brent Royal-Gordon
Sent from my iPhone

> On Feb 21, 2017, at 7:08 PM, Robert Widmann <[email protected]> wrote:
> 
> For baz(), because you wish to be able to
> 
> 1) Not export it across the outermost module boundary, 
> 2) Or even your own internal submodule boundary
> 
> Private or fileprivate suffices depending on the scoping you wish for it to 
> have within the file/interface it’s a part of relative to the other APIs in 
> the submodule.
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to