<div dir="ltr">Hello,<div>    From <i>The Swift Programming Language</i>, I learn the defer statements execute in the reverse order that they appear in the program. And when there are two or more defer statements in a loop(e.g. a for loop), defer statements execute still in the reverse order that they appear, but in the loop order that the loop statement executes. Code snippet is here(<a href="https://swiftlang.ng.bluemix.net/#/repl/582421bfdee52b5745935771">https://swiftlang.ng.bluemix.net/#/repl/582421bfdee52b5745935771</a>).</div><div>    Early I saw this thread(<a href="https://twitter.com/lexrus/status/796370747849441280">https://twitter.com/lexrus/status/796370747849441280</a>) from Twitter, I am curious about defer statement&#39;s execute order. Can you tell more details about it?</div><div><br></div><div>Best regards,</div></div>