[swift-corelibs-dev] Equality, etc in Foundation

Luke Howard lukeh at padl.com
Wed Dec 30 01:28:07 CST 2015


Proposed fix:

https://github.com/lhoward/swift-corelibs-foundation/commit/fe5dcce6ccf06d2f5b8e85c792012dbaee8f59f7 <https://github.com/lhoward/swift-corelibs-foundation/commit/fe5dcce6ccf06d2f5b8e85c792012dbaee8f59f7>

Also tracking in [SR-414].

> On 30 Dec 2015, at 6:15 PM, Luke Howard via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
> 
>     import SwiftFoundation
>     
>     let url1 = NSURL(string: "foo.xml", relativeToURL:NSURL(string: "https://www.example.com <https://www.example.com/>"))!
>     let url2 = NSURL(string: "foo.xml", relativeToURL:NSURL(string: "https://www.example.com <https://www.example.com/>"))!
>     
>     print("\(url1.isEqual(url2))")
>     print("\(url1 == url2)")
> 

--
www.lukehoward.com
soundcloud.com/lukehoward

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20151230/57c458a5/attachment.html>


More information about the swift-corelibs-dev mailing list