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

CompileReified after UpdateDependencyMap

This commit is contained in:
Brian Fiete 2023-03-17 06:37:25 -07:00
parent 5c6eec125c
commit 7ab6800f40

View file

@ -7628,10 +7628,19 @@ bool BfCompiler::DoCompile(const StringImpl& outputDirectory)
bool didWork = false; bool didWork = false;
UpdateDependencyMap(true, didWork); UpdateDependencyMap(true, didWork);
bool hadReifiedRebuild = false;
for (auto entry : mContext->mPopulateTypeWorkList)
{
if ((entry != NULL) && (entry->mType->IsReified()))
hadReifiedRebuild = true;
}
// Deleting types can cause reified types to rebuild, so allow that // Deleting types can cause reified types to rebuild, so allow that
mCompileState = BfCompiler::CompileState_Normal; mCompileState = BfCompiler::CompileState_Normal;
DoWorkLoop(); DoWorkLoop();
if ((hadReifiedRebuild) && (!mIsResolveOnly))
CompileReified();
} }
else else
{ {