February 28, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1879

           Summary: Compiler segfaults on 'scope' and 'static if'
           Product: D
           Version: 1.027
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: samukha@voliacable.com


This combination of 'scope' and 'static if' causes the compiler to segfault: The workaround is to use try/finally

void main()
{
    scope (exit)
    {
    }

    static if (false) // Compiles if true;
    {
    }
}


-- 

March 07, 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1879


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from bugzilla@digitalmars.com  2008-03-07 00:42 -------
Fixed dmd 1.028


--