mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
GetActiveTypeDef mixin issue in GetActiveTypeGenericParamInstances
This commit is contained in:
parent
e064020c06
commit
2f7616cd40
2 changed files with 36 additions and 1 deletions
|
@ -9629,7 +9629,9 @@ void BfModule::GetActiveTypeGenericParamInstances(SizedArray<BfGenericParamInsta
|
|||
|
||||
if (genericTypeInst->mGenericTypeInfo->mGenericExtensionInfo != NULL)
|
||||
{
|
||||
auto activeTypeDef = GetActiveTypeDef(NULL, true);
|
||||
// Note: original version had useMixinDecl set. Was there a reason for that? Causes issue 2118
|
||||
auto activeTypeDef = GetActiveTypeDef(NULL);
|
||||
|
||||
if ((activeTypeDef->mTypeDeclaration != genericTypeInst->mTypeDef->mTypeDeclaration) && (activeTypeDef->IsExtension()))
|
||||
{
|
||||
BfTypeDef* lookupTypeDef = activeTypeDef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue