mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-11 04:52:21 +02:00
Fixed splat aggregation issue in nullable null coalescing
This commit is contained in:
parent
5d14e714c2
commit
0907bd1f52
1 changed files with 1 additions and 1 deletions
|
@ -22930,7 +22930,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->LoadValue(leftValue);
|
leftValue = mModule->LoadOrAggregateValue(leftValue);
|
||||||
|
|
||||||
BfType* nullableElementType = NULL;
|
BfType* nullableElementType = NULL;
|
||||||
BfIRValue nullableHasValue;
|
BfIRValue nullableHasValue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue