mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Clear cached ce reflection data during type rebuild
This commit is contained in:
parent
e071bd0014
commit
51713a1e34
3 changed files with 21 additions and 0 deletions
|
@ -1009,6 +1009,9 @@ void BfContext::RebuildType(BfType* type, bool deleteOnDemandTypes, bool rebuild
|
|||
return;
|
||||
}
|
||||
|
||||
if (mCompiler->mCeMachine != NULL)
|
||||
mCompiler->mCeMachine->ClearTypeData(typeInst);
|
||||
|
||||
BF_ASSERT_REL(typeInst->mDefineState != BfTypeDefineState_DefinedAndMethodsSlotting);
|
||||
|
||||
// We need to verify lookups before we rebuild the type, because a type lookup change needs to count as a TypeDataChanged
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue