mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed error with generic method call on a static field
This commit is contained in:
parent
70c7067bb0
commit
24aaa22f7a
5 changed files with 22 additions and 8 deletions
|
@ -14478,7 +14478,7 @@ void BfExprEvaluator::DoInvocation(BfAstNode* target, BfMethodBoundExpression* m
|
|||
mModule->Fail("Identifier not found", qualifiedName->mLeft);
|
||||
mModule->CheckTypeRefFixit(qualifiedName->mLeft);
|
||||
mModule->CheckIdentifierFixit(qualifiedName->mLeft);
|
||||
thisValue = mModule->GetDefaultTypedValue(mModule->mContext->mBfObjectType);
|
||||
thisValue = mModule->GetDefaultTypedValue(mModule->GetPrimitiveType(BfTypeCode_Var));
|
||||
}
|
||||
if (mResult)
|
||||
CheckResultForReading(mResult);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue