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:
parent
687addf7a5
commit
a700a6bbd2
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue