mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Comptime rebuild and hot compile fixes
This commit is contained in:
parent
b49cd5d12a
commit
0c3f9a139d
9 changed files with 52 additions and 25 deletions
|
@ -2070,16 +2070,20 @@ void BfContext::UpdateRevisedTypes()
|
|||
}
|
||||
}
|
||||
|
||||
if (typeDef->mDefState == BfTypeDef::DefState_Defined)
|
||||
auto checkTypeDef = typeDef;
|
||||
if (typeDef->mEmitParent != NULL)
|
||||
checkTypeDef = typeDef->mEmitParent;
|
||||
|
||||
if (checkTypeDef->mDefState == BfTypeDef::DefState_Defined)
|
||||
{
|
||||
BF_ASSERT(typeDef->mNextRevision == NULL);
|
||||
continue;
|
||||
}
|
||||
|
||||
if (typeDef->mDefState != BfTypeDef::DefState_New)
|
||||
if (checkTypeDef->mDefState != BfTypeDef::DefState_New)
|
||||
{
|
||||
defStateChangedQueue.Add(typeInst);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// We consumed this above
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue