1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

AssertErrorState null check fix

This commit is contained in:
Brian Fiete 2021-12-11 12:48:51 -08:00
parent 06d896330d
commit 9517b3a9d5

View file

@ -15278,7 +15278,7 @@ void BfModule::AssertErrorState()
{
if (mCurTypeInstance->mTypeFailed)
return;
if (mCurTypeInstance->mTypeDef->mSource->mParsingFailed)
if ((mCurTypeInstance->mTypeDef->mSource != NULL) && (mCurTypeInstance->mTypeDef->mSource->mParsingFailed))
return;
}
if (mCurMethodInstance != NULL)