Swift: Did something change with implicit unwrapping when I wasn’t looking?

Book

Screen Shot 2015-07-17 at 9.29.05 AM

Reality

Screen Shot 2015-07-17 at 9.29.22 AM

What I expected was:

Also tested in compiled app, with same (non-crashing) behavior. Any insight? Anyone? Anyone? Bueller?

Update:

David Owens writes:

Sure enough:

Screen Shot 2015-07-17 at 9.35.06 AM

Thanks!

And finally, word of Jordan:

 

Comments are closed.