mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 21:34:11 +02:00
Fixed var case in SetupNullConditional
This commit is contained in:
parent
b9ab8214d2
commit
134893c11f
1 changed files with 2 additions and 0 deletions
|
@ -20514,6 +20514,8 @@ BfTypedValue BfExprEvaluator::SetupNullConditional(BfTypedValue thisValue, BfTok
|
||||||
}
|
}
|
||||||
|
|
||||||
thisValue = mModule->LoadValue(thisValue);
|
thisValue = mModule->LoadValue(thisValue);
|
||||||
|
if (thisValue.mType->IsVar())
|
||||||
|
return thisValue;
|
||||||
|
|
||||||
BfPendingNullConditional* pendingNullCond = mModule->mCurMethodState->mPendingNullConditional;
|
BfPendingNullConditional* pendingNullCond = mModule->mCurMethodState->mPendingNullConditional;
|
||||||
if (pendingNullCond == NULL)
|
if (pendingNullCond == NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue