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

Fixed enum population continuation after cancelled build

This commit is contained in:
Brian Fiete 2022-03-17 07:58:36 -07:00
parent a76c650b86
commit fefe1adbd1

View file

@ -2078,7 +2078,8 @@ void BfContext::UpdateRevisedTypes()
continue;
}
typeInst->mRebuildFlags = BfTypeRebuildFlag_None;
// Clear flags we don't want to propagate
typeInst->mRebuildFlags = (BfTypeRebuildFlags)(typeInst->mRebuildFlags & BfTypeRebuildFlag_UnderlyingTypeDeferred);
if (typeDef->mIsPartial)
{