mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-24 02:28:01 +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)
|
if (targetType != NULL)
|
||||||
{
|
{
|
||||||
auto typeInst = targetType->ToTypeInstance();
|
auto typeInst = targetType->ToTypeInstance();
|
||||||
if ((targetType != NULL) && (!methodName.IsEmpty()))
|
if ((typeInst != NULL) && (!methodName.IsEmpty()))
|
||||||
{
|
{
|
||||||
BfTypeVector paramTypes;
|
BfTypeVector paramTypes;
|
||||||
for (int argIdx = 0; argIdx < (int)argValues.mResolvedArgs.size(); argIdx++)
|
for (int argIdx = 0; argIdx < (int)argValues.mResolvedArgs.size(); argIdx++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue