mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Un-ifdef object literals
Swift SVN r32880
This commit is contained in:
@@ -196,7 +196,6 @@ public protocol StringInterpolationConvertible {
|
||||
init<T>(stringInterpolationSegment expr: T)
|
||||
}
|
||||
|
||||
#if SWIFT_ENABLE_OBJECT_LITERALS
|
||||
/// Conforming types can be initialized with color literals (e.g.
|
||||
/// `[#Color(colorLiteralRed: 1, green: 0, blue: 0, alpha: 1)#]`).
|
||||
public protocol _ColorLiteralConvertible {
|
||||
@@ -215,8 +214,6 @@ public protocol _FileReferenceLiteralConvertible {
|
||||
init(fileReferenceLiteral: String)
|
||||
}
|
||||
|
||||
#endif // SWIFT_ENABLE_OBJECT_LITERALS
|
||||
|
||||
/// A container is destructor safe if whether it may store to memory on
|
||||
/// destruction only depends on its type parameters.
|
||||
/// For example, whether `Array<T>` may store to memory on destruction depends
|
||||
|
||||
Reference in New Issue
Block a user