www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16622] New: multiple scope(exit) are damaging the stack

https://issues.dlang.org/show_bug.cgi?id=16622

          Issue ID: 16622
           Summary: multiple scope(exit) are damaging the stack
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: robertw89 googlemail.com

Multiple scope(exit) blocks don't get rewind correctly.

This code produces a hard crash instead of a stacktrace caused by the
assertion.
http://pastebin.com/NzZF1J2g

--
Oct 18 2016