Skip to content

Commit 0e4b844

Browse files
authored
Merge pull request #2186 from spevans/pr_nsarray_literal
2 parents 3e3e8d9 + f1a6060 commit 0e4b844

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

Foundation/NSArray.swift

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import CoreFoundation
1111

12-
open class NSArray : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding {
12+
open class NSArray : NSObject, NSCopying, NSMutableCopying, NSSecureCoding, NSCoding, ExpressibleByArrayLiteral {
1313
private let _cfinfo = _CFInfo(typeID: CFArrayGetTypeID())
1414
internal var _storage = [AnyObject]()
1515

@@ -947,14 +947,6 @@ extension NSArray : Sequence {
947947
}
948948
}
949949

950-
extension NSArray : ExpressibleByArrayLiteral {
951-
952-
/// Create an instance initialized with `elements`.
953-
// required public convenience init(arrayLiteral elements: Any...) {
954-
//
955-
// }
956-
}
957-
958950
extension NSArray : CustomReflectable {
959951
public var customMirror: Mirror {
960952
return Mirror(reflecting: _storage)

0 commit comments

Comments
 (0)