mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-11 21:37:17 +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);
|
||||
return ex->exp->toElem(gIR);
|
||||
}
|
||||
else if (ArrayInitializer* ex = init->isArrayInitializer())
|
||||
{
|
||||
// TODO: do nothing ?
|
||||
}
|
||||
else if (init->isVoidInitializer())
|
||||
{
|
||||
// do nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue