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

Fixed typealias circular reference issue

This commit is contained in:
Brian Fiete 2020-07-14 10:51:19 -07:00
parent b1af9de159
commit 6232de0aaa

View file

@ -1230,6 +1230,12 @@ bool BfModule::PopulateType(BfType* resolvedTypeRef, BfPopulateType populateType
if (typeInstance == NULL)
return true;
if (typeInstance->mModule == NULL)
{
BF_ASSERT(typeInstance->mTypeFailed);
return false;
}
auto result = typeInstance->mModule->DoPopulateType(typeInstance, populateType);
return result;
}