On 2013-07-16 03:11, H. S. Teoh wrote:
My understanding is that goto translates directly to a jump in assembly, so jumping in/out of blocks with declarations or stuff that needs cleanups should immediately raise red flags. Of course, the compiler may do something intelligent by inserting implicit stack pointer adjustments and/or cleanup blocks, but I wouldn't count on it unless the language spec explicitly requires so.
The docs say: "Any intervening finally clauses are executed, along with releasing any intervening synchronization mutexes."
http://dlang.org/statement.html#GotoStatement -- /Jacob Carlborg
