[swift-evolution] [Pitch] Several improvements points about extension and typealias
devteam.codafi at gmail.com
Wed Oct 5 10:07:51 CDT 2016
2016/10/05 11:00、Cao, Jiannan via swift-evolution <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.
> 2. Allow extending Equatable internally
> currently any type extend to Equatable should make theme public
"Hidden Conformances" are discussed in the generics manifesto.
> 3. Allow internal typealias for a public type
> this internal typealias will only can be used in that package.
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution