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


clugd...@yahoo.com.au changed:

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




------- Comment #1 from clugd...@yahoo.com.au  2009-04-24 03:30 -------
Here's a patch: This one is really simple.

--------------------
Index: mangle.c
===================================================================
--- mangle.c    (revision 24)
+++ mangle.c    (working copy)
@@ -217,7 +217,7 @@
     printf("\n");
 #endif
     id = ident ? ident->toChars() : toChars();
-    if (tempdecl->parent)
+    if (tempdecl && tempdecl->parent)
     {
        char *p = tempdecl->parent->mangle();
        if (p[0] == '_' && p[1] == 'D')


-- 

Reply via email to