# The scope of an unwrapped optional in an optional chain

**URL:** <https://forums.swift.org/t/the-scope-of-an-unwrapped-optional-in-an-optional-chain/17410>\
**Category:** Using Swift\
**Tags:** syntax, optional\
**Created:** [October 26, 2018, 9:34pm UTC](https://forums.swift.org/t/the-scope-of-an-unwrapped-optional-in-an-optional-chain/17410 "2018-10-26T21:34:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Martin](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@Martin](https://forums.swift.org/u/Martin)\
**Post date:** [October 27, 2018, 7:37am UTC](https://forums.swift.org/t/the-scope-of-an-unwrapped-optional-in-an-optional-chain/17410/3 "2018-10-27T07:37:25Z")

</div>

There was a related discussion at [Confirming order of operations](https://forums.swift.org/t/confirming-order-of-operations/16376) , where [Joe Groff said](https://forums.swift.org/t/confirming-order-of-operations/16376/9):

> 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. ...

---

_[View the full topic](https://forums.swift.org/t/the-scope-of-an-unwrapped-optional-in-an-optional-chain/17410)._
