[swift-evolution] [Pitch] Several improvements points about extension and typealias
dgregor at apple.com
Wed Oct 5 11:33:11 CDT 2016
> On Oct 5, 2016, at 8:07 AM, Robert Widmann via swift-evolution <swift-evolution at swift.org> wrote:
> ~Robert Widmann
> 2016/10/05 11:00、Cao, Jiannan via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> のメッセージ:
>> 1. Allow extension specific dictionary
>> extension Dictionary where Key == String, Value == String
>> extension Dictionary<String, String>
> This was just committed by Slava yesterday.
Right, the first extension is now accepted by the Swift compiler, which is *awesome*.
The second one is still ill-formed, because the grammar doesn’t permit it. If we want to go there, it needs a swift-evolution proposal.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution