[swift-evolution] SE-0025: Scoped Access Level, next steps

Антон Жилин antonyzhilin at gmail.com
Tue Mar 15 09:58:58 CDT 2016


I have to agree with you. Still "module" needs to be somewhere in the new
access level for internal, and if possible, "file" in private.

2016-03-15 16:07 GMT+03:00 Ilya Belenkiy <ilya.belenkiy at gmail.com>:

> These names are very uniform, and the context is immediately clear, but
> they are very long. The 2 most commonly used (and spelled out) would be
> access(global) and access(scope), public and private are much shorter and
> are well established terms of art.
> On Tue, Mar 15, 2016 at 8:54 AM Антон Жилин <swift-evolution at swift.org>
> wrote:
>
>> My take at it:
>>
>> access(global)
>> access(module)  // default
>> access(file)
>> access(scope)
>>
>> Very uniform. Argument to `access` is visibility scope.
>> _______________________________________________
>> swift-evolution mailing list
>> swift-evolution at swift.org
>> https://lists.swift.org/mailman/listinfo/swift-evolution
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160315/f254e22b/attachment.html>


More information about the swift-evolution mailing list