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:
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;
|
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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue