mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Internal protection, 'using internal <type or namespace>;`
This commit is contained in:
parent
7349cdf50f
commit
6b27f0f0b2
25 changed files with 313 additions and 96 deletions
|
@ -1004,6 +1004,7 @@ void BfContext::RebuildType(BfType* type, bool deleteOnDemandTypes, bool rebuild
|
|||
}
|
||||
}
|
||||
|
||||
typeInst->ReleaseData();
|
||||
type->mDefineState = BfTypeDefineState_Undefined;
|
||||
typeInst->mSpecializedMethodReferences.Clear();
|
||||
typeInst->mLookupResults.Clear();
|
||||
|
@ -1040,6 +1041,7 @@ void BfContext::RebuildType(BfType* type, bool deleteOnDemandTypes, bool rebuild
|
|||
}
|
||||
|
||||
typeInst->mStaticSearchMap.Clear();
|
||||
typeInst->mInternalAccessMap.Clear();
|
||||
typeInst->mInterfaces.Clear();
|
||||
typeInst->mInterfaceMethodTable.Clear();
|
||||
for (auto operatorInfo : typeInst->mOperatorInfo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue