[Issue 4864] New: ICE(statement.c) Crash on invalid 'if statement' body inside mixin
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 14 00:02:21 PDT 2010
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: nobody at puremagic.com
ReportedBy: yebblies at gmail.com
--- Comment #0 from yebblies <yebblies at 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: -------
More information about the Digitalmars-d-bugs
mailing list