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:
parent
63237f87af
commit
4fe4bcc342
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue