mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
GetUnspecializedMethodInstance fix
This commit is contained in:
parent
08f8ccd4d8
commit
ca8b1a7959
1 changed files with 3 additions and 2 deletions
|
@ -9746,8 +9746,9 @@ BfMethodInstance* BfModule::GetUnspecializedMethodInstance(BfMethodInstance* met
|
|||
if (!owner->IsGenericTypeInstance())
|
||||
return methodInstance;
|
||||
|
||||
BF_ASSERT(!owner->IsDelegateFromTypeRef());
|
||||
BF_ASSERT(!owner->IsTuple());
|
||||
if ((owner->IsDelegateFromTypeRef()) ||
|
||||
(owner->IsTuple()))
|
||||
return methodInstance;
|
||||
|
||||
auto genericType = (BfTypeInstance*)owner;
|
||||
if ((genericType->IsUnspecializedType()) && (!genericType->IsUnspecializedTypeVariation()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue