mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-26 17:43:14 +01:00
Fixed assert when compiling inline test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user