diff gen/typinf.cpp @ 163:a8cd9bc1021a trunk

[svn r179] lots and lots of fixes, much more of tango now compiles/works.
author lindquist
date Mon, 05 May 2008 07:36:29 +0200
parents 5c17f81fc1c1
children db9890b3fb64
line wrap: on
line diff
--- a/gen/typinf.cpp	Mon May 05 00:56:53 2008 +0200
+++ b/gen/typinf.cpp	Mon May 05 07:36:29 2008 +0200
@@ -1052,6 +1052,7 @@
     // get classinfo
     assert(tinfo->ty == Tclass);
     TypeClass *tc = (TypeClass *)tinfo;
+    DtoForceDeclareDsymbol(tc->sym);
     assert(gIR->irDsymbol[tc->sym].irStruct->classInfo);
     sinits.push_back(gIR->irDsymbol[tc->sym].irStruct->classInfo);