> On Mar 17, 2016, at 8:50 PM, Brent Royal-Gordon via swift-evolution 
> <[email protected]> wrote:
> 
>       @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.


I think you could express this as:

        let foo = functionReturningOptional()!
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to