[Issue 858] Forward reference to struct inside class crashes the compiler
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 4 03:04:11 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=858
------- Comment #2 from kamm-removethis at incasoftware.de 2008-11-04 05:04 -------
The code generation seems to crash because the vthis member of Inner's
ClassDeclaration is NULL.
This happens when semantic is called again from runDeferredSemantic: first
vthis is set to baseClass->vthis (baseClass is Object and vthis there is NULL)
and then the interface and nested code isn't run again to correct it because
sizeok != 0.
--
More information about the Digitalmars-d-bugs
mailing list