mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 00:23:14 +01:00
Updated to 2.050
This commit is contained in:
@@ -149,7 +149,8 @@ LLConstant * IrStruct::createStructDefaultInitializer()
|
||||
|
||||
assert(type->ty == Tstruct && "cannot build struct default initializer for non struct type");
|
||||
|
||||
IrTypeStruct* ts = type->irtype->isStruct();
|
||||
DtoType(type);
|
||||
IrTypeStruct* ts = stripModifiers(type)->irtype->isStruct();
|
||||
assert(ts);
|
||||
|
||||
// start at offset zero
|
||||
|
||||
Reference in New Issue
Block a user