[swift-evolution] [Draft] Abolish IUO type

Chris Lattner clattner at apple.com
Thu Mar 17 23:08:27 CDT 2016

On Mar 17, 2016, at 5:50 PM, Brent Royal-Gordon <brent at architechies.com> wrote:

>> It seems like this unnecessarily complicates the surface model of Swift.  To me, it seems like there is no advantage to having two ways to spell this.
>    @autounwrapped let foo = functionReturningOptional()
> I *believe* that, without the `@autounwrapped` attribute, there's no way to go from T? to T! without actually restating T somewhere.

Right, that's part of the feature :-)


More information about the swift-evolution mailing list