1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed generic tuple issue

This commit is contained in:
Brian Fiete 2020-12-24 13:01:58 -08:00
parent 90d4b84d95
commit 2130b7d60c
2 changed files with 4 additions and 4 deletions

View file

@ -2239,7 +2239,7 @@ BfType* BfTypeInstance::GetUnderlyingType()
{
if (!mIsTypedPrimitive)
{
if (mGenericTypeInfo != NULL)
if ((mGenericTypeInfo != NULL) && (!mGenericTypeInfo->mTypeGenericArguments.IsEmpty()))
return mGenericTypeInfo->mTypeGenericArguments[0];
return NULL;
}