[Issue 2577] DMD crashes on foreach of undefined identifier
https://issues.dlang.org/show_bug.cgi?id=2577 Andrei Alexandrescu changed: What|Removed |Added Version|2.023 |D2 --
[Issue 2577] DMD crashes on foreach of undefined identifier
http://d.puremagic.com/issues/show_bug.cgi?id=2577 clugd...@yahoo.com.au changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #4 from clugd...@yahoo.com.au 2009-04-18 01:07 --- Fixed DMD2.028 --
[Issue 2577] DMD crashes on foreach of undefined identifier
http://d.puremagic.com/issues/show_bug.cgi?id=2577 clugd...@yahoo.com.au changed: What|Removed |Added Keywords||patch --- Comment #3 from clugd...@yahoo.com.au 2009-04-02 15:42 --- in expression.c, in CallExp::canThrow(), around line 6660, type will be null if the expression was invalid. Adding a null check fixes the segfault. /* If calling a function or delegate that is typed as nothrow, * then this expression cannot throw. * Note that pure functions can throw. */ if (!e1->type) return 0; // add this line Type *t = e1->type->toBasetype(); if (t->ty == Tfunction && ((TypeFunction *)t)->isnothrow) return 0; --
[Issue 2577] DMD crashes on foreach of undefined identifier
http://d.puremagic.com/issues/show_bug.cgi?id=2577 s...@iname.com changed: What|Removed |Added CC||ge...@iki.fi --- Comment #2 from s...@iname.com 2009-03-05 19:55 --- *** Bug 2709 has been marked as a duplicate of this bug. *** --
[Issue 2577] DMD crashes on foreach of undefined identifier
http://d.puremagic.com/issues/show_bug.cgi?id=2577 matti.niemenmaa+dbugzi...@iki.fi changed: What|Removed |Added CC||samu...@voliacable.com --- Comment #1 from matti.niemenmaa+dbugzi...@iki.fi 2009-01-13 10:16 --- *** Bug 2583 has been marked as a duplicate of this bug. *** --