mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed some issues with types with extensions and emitted methods
This commit is contained in:
parent
d6af5b826f
commit
f7efa3466a
4 changed files with 28 additions and 9 deletions
|
@ -1174,8 +1174,11 @@ void BfContext::RebuildType(BfType* type, bool deleteOnDemandTypes, bool rebuild
|
|||
|
||||
if (typeInst->mTypeDef->mEmitParent != NULL)
|
||||
{
|
||||
auto emitTypeDef = typeInst->mTypeDef;
|
||||
typeInst->mTypeDef = emitTypeDef->mEmitParent;
|
||||
auto emitTypeDef = typeInst->mTypeDef;
|
||||
typeInst->mTypeDef = emitTypeDef->mEmitParent;
|
||||
if (typeInst->mTypeDef->mIsPartial)
|
||||
typeInst->mTypeDef = mSystem->GetCombinedPartial(typeInst->mTypeDef);
|
||||
|
||||
BfLogSysM("Type %p queueing delete of typeDef %p, resetting typeDef to %p\n", typeInst, emitTypeDef, typeInst->mTypeDef);
|
||||
if (emitTypeDef->mDefState != BfTypeDef::DefState_Deleted)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue