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

Fixed const field type dependency

This commit is contained in:
Brian Fiete 2021-10-31 11:38:30 -07:00
parent d55ecbe902
commit 42874ed252

View file

@ -4050,6 +4050,7 @@ void BfModule::DoPopulateType(BfType* resolvedTypeRef, BfPopulateType populateTy
if ((fieldInstance->GetFieldDef() != NULL) && (fieldInstance->GetFieldDef()->mIsConst))
{
// Resolve later
AddDependency(resolvedFieldType, typeInstance, BfDependencyMap::DependencyFlag_ConstValue);
}
else if (fieldInstance->GetFieldDef() != NULL)
{