Merge 2.058beta

This commit is contained in:
Alexey Prokhin
2012-02-15 13:23:16 +04:00
parent f2ed2e96b0
commit e74e55df89
64 changed files with 5260 additions and 2973 deletions
+9 -3
View File
@@ -208,11 +208,18 @@ TypeInfoDeclaration *TypeStruct::getTypeInfoDeclaration()
TypeInfoDeclaration *TypeClass::getTypeInfoDeclaration()
{
if (sym->isInterfaceDeclaration())
return new TypeInfoInterfaceDeclaration(this);
return new TypeInfoInterfaceDeclaration(this);
else
return new TypeInfoClassDeclaration(this);
return new TypeInfoClassDeclaration(this);
}
#if DMDV2
TypeInfoDeclaration *TypeVector::getTypeInfoDeclaration()
{
return new TypeInfoVectorDeclaration(this);
}
#endif
TypeInfoDeclaration *TypeEnum::getTypeInfoDeclaration()
{
return new TypeInfoEnumDeclaration(this);
@@ -233,7 +240,6 @@ TypeInfoDeclaration *TypeTuple::getTypeInfoDeclaration()
return new TypeInfoTupleDeclaration(this);
}
/* ========================================================================= */
/* These decide if there's an instance for them already in std.typeinfo,