1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 12:02:21 +02:00
This commit is contained in:
Brian Fiete 2022-01-18 11:04:29 -05:00
parent ce288ad813
commit 26df78fce2

View file

@ -6163,7 +6163,7 @@ BfTypedValue BfExprEvaluator::CreateCall(BfAstNode* targetSrc, BfMethodInstance*
BfTypedValue BfExprEvaluator::CreateCall(BfMethodMatcher* methodMatcher, BfTypedValue target) BfTypedValue BfExprEvaluator::CreateCall(BfMethodMatcher* methodMatcher, BfTypedValue target)
{ {
auto& moduleMethodInstance = GetSelectedMethod(*methodMatcher); auto moduleMethodInstance = GetSelectedMethod(*methodMatcher);
if (moduleMethodInstance.mMethodInstance == NULL) if (moduleMethodInstance.mMethodInstance == NULL)
return BfTypedValue(); return BfTypedValue();
if ((target) && (target.mType != moduleMethodInstance.mMethodInstance->GetOwner())) if ((target) && (target.mType != moduleMethodInstance.mMethodInstance->GetOwner()))