[Issue 1533] Crash unknown symbol with std.signals
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 20 00:34:40 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1533
clugdbug at yahoo.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
------- Comment #5 from clugdbug at yahoo.com.au 2009-04-20 02:34 -------
DMD2.028. func.c, line 954. Don't try to call the invariant if earlier errors
have meant we don't have a 'this'.
---------
// Postcondition invariant
if (addPostInvariant())
{
if (!ad) return; // <--- add this line
Expression *e = NULL;
if (isCtorDeclaration()){
// Call invariant directly only if it exists
--------
--
More information about the Digitalmars-d-bugs
mailing list