Forgot to set the (ClassInfo.flags & 32) bit added in 1.045.

This commit is contained in:
Tomas Lindquist Olsen 2009-05-16 22:24:49 +02:00
parent e8780d50e8
commit 6633d696c9

View file

@ -636,6 +636,11 @@ static unsigned build_classinfo_flags(ClassDeclaration* cd)
L2: L2:
if (hasOffTi) if (hasOffTi)
flags |= 4; flags |= 4;
// always define the typeinfo field.
// why would ever not do this?
flags |= 32;
return flags; return flags;
} }