mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Null check
This commit is contained in:
parent
35505d905a
commit
cea4b6cdd8
1 changed files with 1 additions and 1 deletions
|
@ -12788,7 +12788,7 @@ bool BfModule::InDefinitionSection()
|
||||||
|
|
||||||
bool BfModule::IsInSpecializedGeneric()
|
bool BfModule::IsInSpecializedGeneric()
|
||||||
{
|
{
|
||||||
if (mCurTypeInstance->IsSpecializedType())
|
if ((mCurTypeInstance != NULL) && (mCurTypeInstance->IsSpecializedType()))
|
||||||
return true;
|
return true;
|
||||||
if ((mCurMethodInstance == NULL) || (mCurMethodInstance->mIsUnspecialized))
|
if ((mCurMethodInstance == NULL) || (mCurMethodInstance->mIsUnspecialized))
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue