[Issue 4873] Assertion failure: '0' on line 1483 in file 'expression.c'
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 5 12:30:50 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4873
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #2 from Don <clugdbug at yahoo.com.au> 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: -------
More information about the Digitalmars-d-bugs
mailing list