> On Oct 26, 2016, at 10:23 AM, Joshua Alvarado <[email protected]> 
> wrote:
> 
> In your example the keyword only makes sense if you are shadowing the 
> optional variable. How would unwrap work with a different name?

It wouldn’t: “unwrap” would never include an equal sign.  If you want to do 
that, use a standard "if let”.

-Chris

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to