mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32: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
|
else
|
||||||
VisitChild(memberRefExpression->mTarget);
|
VisitChild(memberRefExpression->mTarget);
|
||||||
//GetResult();
|
GetResult();
|
||||||
if (mResult.mType == NULL)
|
if (mResult.mType == NULL)
|
||||||
return;
|
return;
|
||||||
thisValue = mResult;
|
thisValue = mResult;
|
||||||
|
@ -7883,6 +7883,8 @@ void DbgExprEvaluator::DoInvocation(BfAstNode* target, BfSizedArray<ASTREF(BfExp
|
||||||
|
|
||||||
bool hadError = false;
|
bool hadError = false;
|
||||||
thisValue = LookupIdentifier(qualifiedName->mLeft, true, &hadError);
|
thisValue = LookupIdentifier(qualifiedName->mLeft, true, &hadError);
|
||||||
|
if (!thisValue)
|
||||||
|
thisValue = GetResult();
|
||||||
if (hadError)
|
if (hadError)
|
||||||
return;
|
return;
|
||||||
if (!thisValue)
|
if (!thisValue)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue