mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-15 14:54:09 +02:00
Fix for PerformBinaryOperation_NullCoalesce
This commit is contained in:
parent
015bf14156
commit
10fdde56c5
1 changed files with 1 additions and 0 deletions
|
@ -23078,6 +23078,7 @@ bool BfExprEvaluator::PerformBinaryOperation_NullCoalesce(BfTokenNode* opToken,
|
||||||
if ((leftValue) && ((leftValue.mType->IsPointer()) || (leftValue.mType->IsFunction()) || (leftValue.mType->IsObject())) || (leftValue.mType->IsNullable()))
|
if ((leftValue) && ((leftValue.mType->IsPointer()) || (leftValue.mType->IsFunction()) || (leftValue.mType->IsObject())) || (leftValue.mType->IsNullable()))
|
||||||
{
|
{
|
||||||
leftValue = mModule->LoadOrAggregateValue(leftValue);
|
leftValue = mModule->LoadOrAggregateValue(leftValue);
|
||||||
|
mModule->mBfIRBuilder->PopulateType(leftValue.mType);
|
||||||
|
|
||||||
BfType* nullableElementType = NULL;
|
BfType* nullableElementType = NULL;
|
||||||
BfIRValue nullableHasValue;
|
BfIRValue nullableHasValue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue