1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed namespace references in GetSymbolReferences

This commit is contained in:
Brian Fiete 2022-05-16 07:45:25 -07:00
parent 2432ab4921
commit edfdf7e606
2 changed files with 2 additions and 2 deletions

View file

@ -8983,7 +8983,7 @@ BfGenericParamInstance* BfModule::GetGenericParamInstance(BfGenericParamType* ty
{
if (type->mGenericParamKind == BfGenericParamKind_Method)
{
if ((mCurMethodInstance->mMethodInfoEx == NULL) || (type->mGenericParamIdx >= mCurMethodInstance->mMethodInfoEx->mGenericParams.mSize))
if ((mCurMethodInstance == NULL) || (mCurMethodInstance->mMethodInfoEx == NULL) || (type->mGenericParamIdx >= mCurMethodInstance->mMethodInfoEx->mGenericParams.mSize))
{
FatalError("Invalid GetGenericParamInstance method generic param");
return NULL;