[Issue 2520] ICE on template mixin typedef

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon May 4 07:28:23 PDT 2009


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


clugdbug at yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch




------- Comment #1 from clugdbug at yahoo.com.au  2009-05-04 09:28 -------
Patch against DMD2.029.

Index: e2ir.c
===================================================================
--- e2ir.c      (revision 24)
+++ e2ir.c      (working copy)
@@ -3603,7 +3603,7 @@

        cdfrom = e1->type->isClassHandle();
        cdto   = t->isClassHandle();
-       if (cdfrom->isInterfaceDeclaration())
+       if (cdfrom && cdfrom->isInterfaceDeclaration())
        {
            rtl = RTLSYM_INTERFACE_CAST;
            if (cdfrom->isCPPinterface())


-- 



More information about the Digitalmars-d-bugs mailing list