diff --git a/IDEHelper/Compiler/BfExprEvaluator.cpp b/IDEHelper/Compiler/BfExprEvaluator.cpp index 2889c12c..0829872d 100644 --- a/IDEHelper/Compiler/BfExprEvaluator.cpp +++ b/IDEHelper/Compiler/BfExprEvaluator.cpp @@ -14056,7 +14056,7 @@ void BfExprEvaluator::DoInvocation(BfAstNode* target, BfMethodBoundExpression* m if ((memberRefExpression->mTarget == NULL) && (memberRefExpression->mMemberName == NULL)) { auto expectingType = mExpectingType; - if (expectingType->IsNullable()) + if ((expectingType != NULL) && (expectingType->IsNullable())) { auto underlyingType = expectingType->GetUnderlyingType(); expectingType = underlyingType; @@ -15044,11 +15044,6 @@ BfTypedValue BfExprEvaluator::GetResult(bool clearResult, bool resolveGenericTyp } } - if (mResultFieldInstance != NULL) - { - NOP; - } - mPropDef = NULL; mPropDefBypassVirtual = false; mIndexerValues.clear();