1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 03:28:20 +02:00

Fixed method evaluation with property target

This commit is contained in:
Brian Fiete 2020-10-17 06:11:32 -07:00
parent 687addf7a5
commit a700a6bbd2

View file

@ -7857,7 +7857,7 @@ void DbgExprEvaluator::DoInvocation(BfAstNode* target, BfSizedArray<ASTREF(BfExp
}
else
VisitChild(memberRefExpression->mTarget);
//GetResult();
GetResult();
if (mResult.mType == NULL)
return;
thisValue = mResult;
@ -7883,6 +7883,8 @@ void DbgExprEvaluator::DoInvocation(BfAstNode* target, BfSizedArray<ASTREF(BfExp
bool hadError = false;
thisValue = LookupIdentifier(qualifiedName->mLeft, true, &hadError);
if (!thisValue)
thisValue = GetResult();
if (hadError)
return;
if (!thisValue)