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:
parent
90d4b84d95
commit
2130b7d60c
2 changed files with 4 additions and 4 deletions
|
@ -2239,7 +2239,7 @@ BfType* BfTypeInstance::GetUnderlyingType()
|
|||
{
|
||||
if (!mIsTypedPrimitive)
|
||||
{
|
||||
if (mGenericTypeInfo != NULL)
|
||||
if ((mGenericTypeInfo != NULL) && (!mGenericTypeInfo->mTypeGenericArguments.IsEmpty()))
|
||||
return mGenericTypeInfo->mTypeGenericArguments[0];
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue