Switch DictionaryLiteralConvertible over to an initializer requirement.

Swift SVN r22033
This commit is contained in:
Doug Gregor
2014-09-17 19:42:31 +00:00
parent 1ae712e6bb
commit d42563291e
11 changed files with 73 additions and 30 deletions

View File

@@ -289,7 +289,7 @@ public protocol ArrayLiteralConvertible {
public protocol DictionaryLiteralConvertible {
typealias Key
typealias Value
class func convertFromDictionaryLiteral(elements: (Key, Value)...) -> Self
init(dictionaryLiteral elements: (Key, Value)...)
}
public protocol StringInterpolationConvertible {