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


Andrej Mitrovic <andrej.mitrov...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrov...@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-11-09 
08:55:09 PST ---
Slightly reduced:

template GetParent(T)
{
    alias Object GetParent;
    enum x = (()=>(new A()).foo())();
}

class A : GetParent!A
{
    string foo(){ return "Object"; }
}

The segfault is in ClassDeclaration::searchBase:

Dsymbol *cdb = b->type->isClassHandle();
    if (cdb->ident->equals(ident))  // offending line

cdb is not checked for NULL.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to