[Issue 1586] DMD and GDC segfaults on incomplete code segment.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 13 22:30:42 PST 2007


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





------- Comment #3 from davidl at 126.com  2007-12-14 00:30 -------
While I enjoy another fix:

    if (!s2)
    {
         if(s->ident)   
              error("template identifier %s is not a member of %s %s",
id->toChars(),
s->kind(), s->ident->toChars() : "(null)");
        goto Lerr;
    }

Since the Template Instance is unknown so this error message is useless.


-- 



More information about the Digitalmars-d-bugs mailing list