1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Fixed splat aggregation issue in nullable null coalescing

This commit is contained in:
Brian Fiete 2022-08-03 08:56:40 -07:00
parent 5d14e714c2
commit 0907bd1f52

View file

@ -22930,7 +22930,7 @@ bool BfExprEvaluator::PerformBinaryOperation_NullCoalesce(BfTokenNode* opToken,
{
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;
BfIRValue nullableHasValue;