mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +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()
|
||||
{
|
||||
if (mCurTypeInstance->IsSpecializedType())
|
||||
if ((mCurTypeInstance != NULL) && (mCurTypeInstance->IsSpecializedType()))
|
||||
return true;
|
||||
if ((mCurMethodInstance == NULL) || (mCurMethodInstance->mIsUnspecialized))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue