> On Mar 16, 2016, at 19:02 , Ilya Belenkiy via swift-evolution
> <[email protected]> wrote:
>
> The access level discussed in the proposal already hides the members from
> nested types.
Really? In the following code, the nested type and the local method are
definitely in the same lexical scope by my understanding of "lexical scope":
struct Foo {
local static func foo() {}
struct Nested {
init() {
Foo.foo()
}
}
}
I guess this is something else that would need to be clarified if/when the
proposal returns to review.
Jordan_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution