mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Handled some missing system types better
This commit is contained in:
parent
a9c82d4125
commit
9163312712
2 changed files with 14 additions and 3 deletions
|
@ -13833,6 +13833,9 @@ void BfExprEvaluator::CreateObject(BfObjectCreateExpression* objCreateExpr, BfAs
|
|||
mModule->Fail("Too many array dimensions, consider using a jagged array.", objCreateExpr);
|
||||
}
|
||||
|
||||
if (arrayType == NULL)
|
||||
return;
|
||||
|
||||
if (isAppendAlloc)
|
||||
arrayValue = BfTypedValue(mModule->AppendAllocFromType(resultType, BfIRValue(), 0, arraySize, (int)dimLengthVals.size(), isRawArrayAlloc, zeroMemory), arrayType);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue