mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 18:18:00 +02:00
Fixed null check
This commit is contained in:
parent
d9e97c7dc0
commit
500a42b054
1 changed files with 1 additions and 1 deletions
|
@ -9744,7 +9744,7 @@ BfTypedValue BfExprEvaluator::MatchMethod(BfAstNode* targetSrc, BfMethodBoundExp
|
|||
if (targetType != NULL)
|
||||
{
|
||||
auto typeInst = targetType->ToTypeInstance();
|
||||
if ((targetType != NULL) && (!methodName.IsEmpty()))
|
||||
if ((typeInst != NULL) && (!methodName.IsEmpty()))
|
||||
{
|
||||
BfTypeVector paramTypes;
|
||||
for (int argIdx = 0; argIdx < (int)argValues.mResolvedArgs.size(); argIdx++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue