mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed bind result origTarget override
This commit is contained in:
parent
30ee2516ca
commit
67ce0dcfee
1 changed files with 4 additions and 0 deletions
|
@ -8686,6 +8686,10 @@ BfTypedValue BfExprEvaluator::MatchMethod(BfAstNode* targetSrc, BfMethodBoundExp
|
|||
prevBindResult.Restore();
|
||||
auto fieldTypeInst = fieldVal.mType->ToTypeInstance();
|
||||
MarkResultUsed();
|
||||
if (mFunctionBindResult != NULL)
|
||||
{
|
||||
mFunctionBindResult->mOrigTarget = BfTypedValue();
|
||||
}
|
||||
return MatchMethod(targetSrc, NULL, fieldVal, false, false, "Invoke", argValues, methodGenericArguments, checkedKind);
|
||||
}
|
||||
if (fieldVal.mType->IsVar())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue