== and != in Swift is not a negation with Array type.

Originator:blueapple
Number:rdar://17206649 Date Originated:07-Jun-2014 06:05 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode6-Beta 6A215l
Classification:Other Bugs Reproducible:Always
 
[1] != [1] is not equals to !([1] == [1]).

[1] != [1] and [1] == [1] both evaluates to false.

Mac OS X 10.9.3 13D65
Xcode6-Beta 6A215l
Swift version 1.0 (swift-600.0.34.4.5)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!