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

Fixed var case in SetupNullConditional

This commit is contained in:
Brian Fiete 2022-05-24 07:46:42 -07:00
parent b9ab8214d2
commit 134893c11f

View file

@ -20514,6 +20514,8 @@ BfTypedValue BfExprEvaluator::SetupNullConditional(BfTypedValue thisValue, BfTok
}
thisValue = mModule->LoadValue(thisValue);
if (thisValue.mType->IsVar())
return thisValue;
BfPendingNullConditional* pendingNullCond = mModule->mCurMethodState->mPendingNullConditional;
if (pendingNullCond == NULL)