mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-14 15:16:07 +03:00
Fixed assert when compiling inline test
This commit is contained in:
parent
de15f4adbb
commit
8c0902ce21
1 changed files with 4 additions and 0 deletions
|
@ -1217,6 +1217,10 @@ DValue* DtoInitializer(LLValue* target, Initializer* init)
|
||||||
assert(ex->exp);
|
assert(ex->exp);
|
||||||
return ex->exp->toElem(gIR);
|
return ex->exp->toElem(gIR);
|
||||||
}
|
}
|
||||||
|
else if (ArrayInitializer* ex = init->isArrayInitializer())
|
||||||
|
{
|
||||||
|
// TODO: do nothing ?
|
||||||
|
}
|
||||||
else if (init->isVoidInitializer())
|
else if (init->isVoidInitializer())
|
||||||
{
|
{
|
||||||
// do nothing
|
// do nothing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue