mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 21:34:11 +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
|
@ -4368,6 +4368,10 @@ void BfCompiler::GetSymbolReferences()
|
||||||
|
|
||||||
for (auto rebuildTypeInst : rebuildTypeInstList)
|
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 context = mContext;
|
||||||
auto module = context->mScratchModule;
|
auto module = context->mScratchModule;
|
||||||
SetAndRestoreValue<BfTypeInstance*> prevTypeInstance(module->mCurTypeInstance, rebuildTypeInst);
|
SetAndRestoreValue<BfTypeInstance*> prevTypeInstance(module->mCurTypeInstance, rebuildTypeInst);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue