[swift-evolution] extending typealiases

Adrian Zubarev adrian.zubarev at devandartist.com
Mon Feb 6 11:51:12 CST 2017


Just imagining the future. Iff this request will made into the language and we had typealias AnyObject = Any<class>, would the following be valid?

extension AnyObject {
    func foo()
}


-- 
Adrian Zubarev
Sent with Airmail

Am 6. Februar 2017 um 08:03:52, Vatsal Manot via swift-evolution (swift-evolution at swift.org) schrieb:

+1 from me, it seems like a sensible improvement (albeit not a pressing one, as others have noted).
_______________________________________________
swift-evolution mailing list
swift-evolution at swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170206/d7318700/attachment.html>


More information about the swift-evolution mailing list