mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 00:23:14 +01:00
Merge 2.058beta
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user