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



--- Comment #3 from Fawzi Mohamed <fa...@gmx.ch> 2010-02-28 16:02:28 PST ---
a clean compile, and my fix doesn't look to bad.

klickverbot even tested dstess, and it did not make anything worse.

It might not be the correct fix, but still improves things.
{{{
diff -r 9cc791423e20 dmd/expression.c
--- a/dmd/expression.c    Thu Feb 25 17:12:54 2010 -0700
+++ b/dmd/expression.c    Sun Feb 28 23:59:36 2010 +0100
 -5946,6 +5946,7 @@
     eleft = dte->e1;
     ti->tempdecl = td;
     ti->semantic(sc);
+        if (ti->inst == NULL) return new ErrorExp();
     Dsymbol *s = ti->inst->toAlias();
     Declaration *v = s->isDeclaration();
     if (v)
}}}

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

Reply via email to