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:
parent
b1af9de159
commit
6232de0aaa
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue