1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed symbol rename issue with generic delegates

This commit is contained in:
Brian Fiete 2020-06-01 04:55:36 -07:00
parent 63237f87af
commit 4fe4bcc342

View file

@ -4367,7 +4367,11 @@ void BfCompiler::GetSymbolReferences()
};
for (auto rebuildTypeInst : rebuildTypeInstList)
{
{
// These never have a definition. Also note that BfGenericDelegateType does not have proper generic defs
if (rebuildTypeInst->IsOnDemand())
continue;
auto context = mContext;
auto module = context->mScratchModule;
SetAndRestoreValue<BfTypeInstance*> prevTypeInstance(module->mCurTypeInstance, rebuildTypeInst);