mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +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()))
|
||||
{
|
||||
leftValue = mModule->LoadOrAggregateValue(leftValue);
|
||||
mModule->mBfIRBuilder->PopulateType(leftValue.mType);
|
||||
|
||||
BfType* nullableElementType = NULL;
|
||||
BfIRValue nullableHasValue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue