diff --git a/IDEHelper/Compiler/BfExprEvaluator.cpp b/IDEHelper/Compiler/BfExprEvaluator.cpp index 8afa8323..ca94b830 100644 --- a/IDEHelper/Compiler/BfExprEvaluator.cpp +++ b/IDEHelper/Compiler/BfExprEvaluator.cpp @@ -15270,8 +15270,8 @@ void BfExprEvaluator::DoInvocation(BfAstNode* target, BfMethodBoundExpression* m mModule->FinishAttributeState(&attributeState); if (isCascade) - { - if (outCascadeValue != NULL) + { + if ((outCascadeValue != NULL) && (thisValue.mValue)) { *outCascadeValue = thisValue; }