mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Switch ArrayLiteralConvertible over to an initializer requirement.
Swift SVN r22024
This commit is contained in:
@@ -283,7 +283,7 @@ public protocol StringLiteralConvertible : ExtendedGraphemeClusterLiteralConvert
|
||||
|
||||
public protocol ArrayLiteralConvertible {
|
||||
typealias Element
|
||||
class func convertFromArrayLiteral(elements: Element...) -> Self
|
||||
init(arrayLiteral elements: Element...)
|
||||
}
|
||||
|
||||
public protocol DictionaryLiteralConvertible {
|
||||
|
||||
Reference in New Issue
Block a user