[Issue 16622] New: multiple scope(exit) are damaging the stack

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Oct 18 07:19:22 PDT 2016


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 at puremagic.com
          Reporter: robertw89 at 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

--


More information about the Digitalmars-d-bugs mailing list