> On May 18, 2016, at 11:00 AM, Adrian Zubarev via swift-evolution 
> <[email protected]> wrote:
> May I revive this idea for a discussion. 
> 
> When I posted this first I didn’t thought about creating these nested types 
> inside extensions.
> 
> So basically I could do this (over and over):
> 
> extension SomeClass {
>    class NestedClass { … }
> }
> 
> But we have to surround a new nested type by an extension scope which is more 
> boilerplate to my eyes than just `class SomeClass.NestedClass` instead.
> 
> Is this worth a proposal?

You're welcome to submit a proposal, but I personally don't think I'd support 
it; this seems like it just creates another way to write something for very 
little benefit.

John.

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

Reply via email to