mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 16:41:06 +03:00
fix problem reported in ticket 327 - thanks d0k
This commit is contained in:
parent
723cfef519
commit
0c1b6e27d9
1 changed files with 5 additions and 4 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue