http://d.puremagic.com/issues/show_bug.cgi?id=4864

           Summary: ICE(statement.c) Crash on invalid 'if statement' body
                    inside mixin
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: yebbl...@gmail.com


--- Comment #0 from yebblies <yebbl...@gmail.com> 2010-09-14 00:01:51 PDT ---
----- reduced test case -----

void main()
{
    mixin("if (0) % ;");
}
-----------------------------

IfStatement::semantic is called with (ifbody == null)
Seems like something that should be detected during parsing of the mixin.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to