mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Swift NilLiteralConvertible to an initializer requirement
Swift SVN r21980
This commit is contained in:
@@ -204,7 +204,7 @@ public protocol RawOptionSetType : _RawOptionSetType, BitwiseOperationsType,
|
||||
/// Conforming to this protocol allows a type to be usable with the 'nil'
|
||||
/// literal.
|
||||
public protocol NilLiteralConvertible {
|
||||
class func convertFromNilLiteral() -> Self
|
||||
init(nilLiteral: ())
|
||||
}
|
||||
|
||||
public protocol _BuiltinIntegerLiteralConvertible {
|
||||
|
||||
Reference in New Issue
Block a user