mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fix for mid-compile rebuild chain from on-demand type
This commit is contained in:
parent
3b412719fe
commit
252f790525
1 changed files with 5 additions and 2 deletions
|
@ -1816,8 +1816,11 @@ void BfContext::DeleteType(BfType* type, bool deferDepRebuilds)
|
|||
methodInstance->mHasMethodRefType = false;
|
||||
}
|
||||
|
||||
for (auto dependentType : rebuildTypeQueue)
|
||||
RebuildType(dependentType);
|
||||
for (auto dependentType : rebuildTypeQueue)
|
||||
{
|
||||
if (dependentType->mRevision != mCompiler->mRevision)
|
||||
RebuildType(dependentType);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue