mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Overhaul generic type reference lookup
This commit is contained in:
parent
e5f280de32
commit
fefed0948e
5 changed files with 304 additions and 118 deletions
|
@ -1127,7 +1127,6 @@ void BfContext::RebuildType(BfType* type, bool deleteOnDemandTypes, bool rebuild
|
|||
if (typeInst->IsGenericTypeInstance())
|
||||
{
|
||||
auto genericTypeInstance = (BfTypeInstance*)typeInst;
|
||||
genericTypeInstance->mGenericTypeInfo->mTypeGenericArgumentRefs.Clear();
|
||||
for (auto genericParam : genericTypeInstance->mGenericTypeInfo->mGenericParams)
|
||||
genericParam->Release();
|
||||
genericTypeInstance->mGenericTypeInfo->mInitializedGenericParams = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue