[Issue 2346] ICE when comparing typedef'd class
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 18 01:53:37 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2346
------- Comment #2 from clugdbug at yahoo.com.au 2009-04-18 03:53 -------
The code should be accepted, but at least it's easy enough to convert the
segfault into an error with line number:
e2ir.c line 3612.
cdfrom = e1->type->isClassHandle();
+ if (!cdfrom){ error("ICE: Bugzilla 2346"); return e;}
cdto = t->isClassHandle();
if (cdfrom->isInterfaceDeclaration()) //<------ it is segfaulting here
{
--
More information about the Digitalmars-d-bugs
mailing list