The scope of an unwrapped optional in an optional chain

There was a related discussion at Confirming order of operations , where Joe Groff said:

This isn't guaranteed. Releases may be optimized to happen earlier than this, to any point after the last formal use of the strong reference. ...

1 Like