[Issue 4873] Assertion failure: '0' on line 1483 in file 'expression.c'
http://d.puremagic.com/issues/show_bug.cgi?id=4873 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@digitalmars.com Resolution||FIXED --- Comment #3 from Walter Bright 2010-10-08 14:45:08 PDT --- http://www.dsource.org/projects/dmd/changeset/711 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4873] Assertion failure: '0' on line 1483 in file 'expression.c'
http://d.puremagic.com/issues/show_bug.cgi?id=4873 Don changed: What|Removed |Added Keywords||patch --- Comment #2 from Don 2010-10-05 12:30:28 PDT --- PATCH: staticassert.c, line 58. void StaticAssert::semantic2(Scope *sc) { Expression *e; //printf("StaticAssert::semantic2() %s\n", toChars()); e = exp->semantic(sc); +if (e->op == TOKerror) +return; e = e->optimize(WANTvalue | WANTinterpret); if (e->isBool(FALSE)) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 4873] Assertion failure: '0' on line 1483 in file 'expression.c'
http://d.puremagic.com/issues/show_bug.cgi?id=4873 --- Comment #1 from Sobirari Muhomori 2010-09-15 14:13:32 PDT --- workaround: remove assert -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---