1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

ResolveGenericType call fix

This commit is contained in:
Brian Fiete 2022-04-30 08:53:24 -07:00
parent e9ef23e92f
commit bfd062dd59

View file

@ -1256,7 +1256,7 @@ void BfAutoComplete::AddExtensionMethods(BfTypeInstance* targetType, BfTypeInsta
continue;
genericInferContext.InferGenericArguments(methodInstance);
thisType = mModule->ResolveGenericType(thisType, NULL, &genericTypeVector, false);
thisType = mModule->ResolveGenericType(thisType, NULL, &genericTypeVector, mModule->mCurTypeInstance, false);
if (thisType == NULL)
continue;