1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Fixed onDemand count with generic interface that declares a method impl

This commit is contained in:
Brian Fiete 2021-01-18 14:24:18 -08:00
parent d1ff0c1478
commit 95fe97496c

View file

@ -5526,7 +5526,11 @@ void BfModule::DoTypeInstanceMethodProcessing(BfTypeInstance* typeInstance)
BfMethodInstance* newMethodInstance = methodInst.mMethodInstance;
BF_ASSERT(newMethodInstance->mIsForeignMethodDef);
if (newMethodInstance->mMethodInstanceGroup->mOnDemandKind == BfMethodOnDemandKind_Decl_AwaitingReference)
mOnDemandMethodCount++;
{
if (!mIsScratchModule)
mOnDemandMethodCount++;
}
continue;
}
}