mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Delegate thunk return fix
This commit is contained in:
parent
bc9ad74a46
commit
494f984ba5
1 changed files with 3 additions and 0 deletions
|
@ -7389,6 +7389,9 @@ BfTypedValue BfExprEvaluator::CreateCall(BfAstNode* targetSrc, BfMethodInstance*
|
||||||
mModule->mCurMethodState->mMayNeedThisAccessCheck = true;
|
mModule->mCurMethodState->mMayNeedThisAccessCheck = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isDelegateThunk)
|
||||||
|
return BfTypedValue(callInst, methodInstance->mReturnType);
|
||||||
|
|
||||||
BfTypedValue result;
|
BfTypedValue result;
|
||||||
if (sret != NULL)
|
if (sret != NULL)
|
||||||
result = *sret;
|
result = *sret;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue