diff --git a/IDEHelper/Compiler/BfExprEvaluator.cpp b/IDEHelper/Compiler/BfExprEvaluator.cpp index f24c464b..92530961 100644 --- a/IDEHelper/Compiler/BfExprEvaluator.cpp +++ b/IDEHelper/Compiler/BfExprEvaluator.cpp @@ -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)