mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
GetUnspecializedMethodInstance local method fix
This commit is contained in:
parent
ca8b1a7959
commit
b18cdc706c
1 changed files with 3 additions and 0 deletions
|
@ -9754,6 +9754,9 @@ BfMethodInstance* BfModule::GetUnspecializedMethodInstance(BfMethodInstance* met
|
|||
if ((genericType->IsUnspecializedType()) && (!genericType->IsUnspecializedTypeVariation()))
|
||||
return methodInstance;
|
||||
|
||||
if (methodInstance->mMethodDef->mIsLocalMethod)
|
||||
return methodInstance;
|
||||
|
||||
auto unspecializedType = ResolveTypeDef(genericType->mTypeDef);
|
||||
if (unspecializedType == NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue