mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed function call from expression
This commit is contained in:
parent
b048cafcfd
commit
c378ef6e92
1 changed files with 1 additions and 1 deletions
|
@ -16785,7 +16785,7 @@ void BfExprEvaluator::DoInvocation(BfAstNode* target, BfMethodBoundExpression* m
|
|||
if (innerInvocationResult.mType->IsTypeInstance())
|
||||
{
|
||||
auto invocationTypeInst = innerInvocationResult.mType->ToTypeInstance();
|
||||
if (invocationTypeInst->mTypeDef->mIsDelegate)
|
||||
if ((invocationTypeInst->mTypeDef->mIsDelegate) || (invocationTypeInst->mTypeDef->mIsFunction))
|
||||
{
|
||||
thisValue = innerInvocationResult;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue