[swift-evolution] [Manifesto] Completing Generics

Joe Groff jgroff at apple.com
Thu Mar 10 15:43:31 CST 2016


> On Mar 10, 2016, at 1:43 PM, Howard Lovatt <howard.lovatt at gmail.com> wrote:
> 
> @T.J.,
> 
> Swift does not allow overloading on return type. You cannot write:
> 
> func f() -> Int
> func f() -> String

You can.

-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160310/3c076b13/attachment.html>


More information about the swift-evolution mailing list