Fixed assert when compiling inline test

This commit is contained in:
Alexey Prokhin 2010-12-17 12:54:34 +03:00
parent de15f4adbb
commit 8c0902ce21

View file

@ -1217,6 +1217,10 @@ DValue* DtoInitializer(LLValue* target, Initializer* init)
assert(ex->exp);
return ex->exp->toElem(gIR);
}
else if (ArrayInitializer* ex = init->isArrayInitializer())
{
// TODO: do nothing ?
}
else if (init->isVoidInitializer())
{
// do nothing