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

Fix for mid-compile rebuild chain from on-demand type

This commit is contained in:
Brian Fiete 2022-02-24 05:20:19 -08:00
parent 3b412719fe
commit 252f790525

View file

@ -1817,8 +1817,11 @@ void BfContext::DeleteType(BfType* type, bool deferDepRebuilds)
} }
for (auto dependentType : rebuildTypeQueue) for (auto dependentType : rebuildTypeQueue)
{
if (dependentType->mRevision != mCompiler->mRevision)
RebuildType(dependentType); RebuildType(dependentType);
} }
}
} }
void BfContext::UpdateAfterDeletingTypes() void BfContext::UpdateAfterDeletingTypes()