mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 01:23:14 +01:00
fix problem reported in ticket 327 - thanks d0k
This commit is contained in:
@@ -979,10 +979,11 @@ DValue* DtoDeclarationExp(Dsymbol* declaration)
|
||||
else if (AttribDeclaration* a = declaration->isAttribDeclaration())
|
||||
{
|
||||
Logger::println("AttribDeclaration");
|
||||
for (int i=0; i < a->decl->dim; ++i)
|
||||
{
|
||||
DtoDeclarationExp((Dsymbol*)a->decl->data[i]);
|
||||
}
|
||||
if (a->decl)
|
||||
for (int i=0; i < a->decl->dim; ++i)
|
||||
{
|
||||
DtoDeclarationExp((Dsymbol*)a->decl->data[i]);
|
||||
}
|
||||
}
|
||||
// mixin declaration
|
||||
else if (TemplateMixin* m = declaration->isTemplateMixin())
|
||||
|
||||
Reference in New Issue
Block a user