mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 23:50:43 +03:00
Merge 2.058beta
This commit is contained in:
parent
f2ed2e96b0
commit
e74e55df89
64 changed files with 5261 additions and 2974 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue