[swift-evolution] SE-0025: Scoped Access Level, next steps
Joanna Carter
joanna at carterconsulting.org.uk
Wed Mar 23 17:13:00 CDT 2016
>> On Mon, Mar 14, 2016 at 8:18 PM Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
>>> Per Doug’s email, the core team agrees we should make a change here, but would like some bikeshedding to happen on the replacement name for private.
>>>
>>> To summarize the place we’d like to end up:
>>>
>>> - “public” -> symbol visible outside the current module.
>>> - “internal” -> symbol visible within the current module.
>>> - unknown -> symbol visible within the current file.
>>> - “private” -> symbol visible within the current declaration (class, extension, etc).
I'm tempted to wade in on the KISS principle with :
public
internal
file
private
"It does what it says on the tin" :-)
Joanna
Carter Consulting
Envoyé de mon iPad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160323/3c44ec73/attachment.html>
More information about the swift-evolution
mailing list