mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
CompileReified after UpdateDependencyMap
This commit is contained in:
parent
5c6eec125c
commit
7ab6800f40
1 changed files with 9 additions and 0 deletions
|
@ -7628,10 +7628,19 @@ bool BfCompiler::DoCompile(const StringImpl& outputDirectory)
|
|||
|
||||
bool didWork = false;
|
||||
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
|
||||
mCompileState = BfCompiler::CompileState_Normal;
|
||||
DoWorkLoop();
|
||||
if ((hadReifiedRebuild) && (!mIsResolveOnly))
|
||||
CompileReified();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue