1
0
Fork 0
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:
Brian Fiete 2022-02-24 05:20:19 -08:00
parent 3b412719fe
commit 252f790525

View file

@ -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);
}
}
}