mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Fixed method comparer with unresolvable argument
This commit is contained in:
parent
2eb7ce3e1a
commit
6997116dc8
1 changed files with 3 additions and 0 deletions
|
@ -1837,6 +1837,9 @@ bool BfMethodMatcher::IsType(BfTypedValue& typedVal, BfType* type)
|
|||
if (typedVal.mType == type)
|
||||
return true;
|
||||
|
||||
if (!typedVal)
|
||||
return false;
|
||||
|
||||
if (!typedVal.mType->IsPrimitiveType())
|
||||
return false;
|
||||
if (!type->IsPrimitiveType())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue