Avatar
swiftbot BOT 5/30/2018 4:01 PM
(edited)
Author icon
tarunon
extension Array: Equatable where Element==Int {}
Version:
swift-4.1.1-RELEASE
Output:
Error:
/usercode/main.swift:1:18: warning: conformance of 'Array<Element>' to protocol 'Equatable' was already stated in the type's module 'Swift' extension Array: Equatable where Element==Int {} ^ Swift.Array<Element>:1:11: note: 'Array<Element>' declares conformance to protocol 'Equatable' here extension Array : Equatable where Element : Equatable { ^
4:01 PM