I used the swift-4.1-DEVELOPMENT-SNAPSHOT-2017-11-30-a-osx to test:
Welcome to Apple Swift version 4.1-dev (LLVM 05fee6ff60, Clang f0e38d2044,
Swift a1441d34f7). Type :help for assistance.
1> [[1]] == [[1]]
error: repl.swift:1:7: error: binary operator '==' cannot be applied to two
'[[Int]]' operands
[[1]] == [[1]]
~~~~~ ^ ~~~~~
repl.swift:1:7: note: overloads for '==' exist with these partially matching
parameter lists: (Any.Type?, Any.Type?), ((), ()), (Bool, Bool), (Character,
Character), (Character.UnicodeScalarView.Index,
Character.UnicodeScalarView.Index), (CodingUserInfoKey, CodingUserInfoKey),
(OpaquePointer, OpaquePointer), (AnyHashable, AnyHashable), (UInt8, UInt8),
(Int8, Int8), (UInt16, UInt16), (Int16, Int16), (UInt32, UInt32), (Int32,
Int32), (UInt64, UInt64), (Int64, Int64), (UInt, UInt), (Int, Int),
(AnyKeyPath, AnyKeyPath), (Unicode.Scalar, Unicode.Scalar), (ObjectIdentifier,
ObjectIdentifier), (String, String), (String.Index, String.Index),
(UnsafeMutableRawPointer, UnsafeMutableRawPointer), (UnsafeRawPointer,
UnsafeRawPointer), (UnicodeDecodingResult, UnicodeDecodingResult),
(_SwiftNSOperatingSystemVersion, _SwiftNSOperatingSystemVersion), (AnyIndex,
AnyIndex), (ContiguousArray<Element>, ContiguousArray<Element>),
(ArraySlice<Element>, ArraySlice<Element>), (T?, T?), (T?,
_OptionalNilComparisonType), (_OptionalNilComparisonType, T?), ((A, B), (A,
B)), ((A, B, C), (A, B, C)), ((A, B, C, D), (A, B, C, D)), ((A, B, C, D, E),
(A, B, C, D, E)), ((A, B, C, D, E, F), (A, B, C, D, E, F)),
(AutoreleasingUnsafeMutablePointer<Pointee>,
AutoreleasingUnsafeMutablePointer<Pointee>), (ClosedRangeIndex<Bound>,
ClosedRangeIndex<Bound>), (DoubleWidth<Base>, DoubleWidth<Base>),
(DoubleWidth<Base>.Words.Index, DoubleWidth<Base>.Words.Index),
(LazyDropWhileIndex<Base>, LazyDropWhileIndex<Base>),
(EmptyCollection<Element>, EmptyCollection<Element>),
(FlattenCollectionIndex<BaseElements>, FlattenCollectionIndex<BaseElements>),
(FlattenBidirectionalCollectionIndex<BaseElements>,
FlattenBidirectionalCollectionIndex<BaseElements>), (Set<Element>,
Set<Element>), (Dictionary<Key, Value>.Keys, Dictionary<Key, Value>.Keys),
([Key : Value], [Key : Value]), (Set<Element>.Index, Set<Element>.Index),
(Dictionary<Key, Value>.Index, Dictionary<Key, Value>.Index),
(ManagedBufferPointer<Header, Element>, ManagedBufferPointer<Header, Element>),
(LazyPrefixWhileIndex<Base>, LazyPrefixWhileIndex<Base>), (Range<Bound>,
Range<Bound>), (CountableRange<Bound>, CountableRange<Bound>),
(ClosedRange<Bound>, ClosedRange<Bound>), (CountableClosedRange<Bound>,
CountableClosedRange<Bound>), (ReversedIndex<Base>, ReversedIndex<Base>),
(ReversedRandomAccessIndex<Base>, ReversedRandomAccessIndex<Base>),
(_UIntBuffer<Storage, Element>.Index, _UIntBuffer<Storage, Element>.Index),
(UnsafeMutablePointer<Pointee>, UnsafeMutablePointer<Pointee>),
(UnsafePointer<Pointee>, UnsafePointer<Pointee>),
(_ValidUTF8Buffer<Storage>.Index, _ValidUTF8Buffer<Storage>.Index), (Self,
Other), (Self, R)
[[1]] == [[1]]
^
_______________________________________________
swift-dev mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-dev