mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed onDemand count with generic interface that declares a method impl
This commit is contained in:
parent
d1ff0c1478
commit
95fe97496c
1 changed files with 5 additions and 1 deletions
|
@ -5526,7 +5526,11 @@ void BfModule::DoTypeInstanceMethodProcessing(BfTypeInstance* typeInstance)
|
||||||
BfMethodInstance* newMethodInstance = methodInst.mMethodInstance;
|
BfMethodInstance* newMethodInstance = methodInst.mMethodInstance;
|
||||||
BF_ASSERT(newMethodInstance->mIsForeignMethodDef);
|
BF_ASSERT(newMethodInstance->mIsForeignMethodDef);
|
||||||
if (newMethodInstance->mMethodInstanceGroup->mOnDemandKind == BfMethodOnDemandKind_Decl_AwaitingReference)
|
if (newMethodInstance->mMethodInstanceGroup->mOnDemandKind == BfMethodOnDemandKind_Decl_AwaitingReference)
|
||||||
mOnDemandMethodCount++;
|
{
|
||||||
|
if (!mIsScratchModule)
|
||||||
|
mOnDemandMethodCount++;
|
||||||
|
}
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue