From bfd062dd5979b290103d13914d255ea63d216409 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Sat, 30 Apr 2022 08:53:24 -0700 Subject: [PATCH] ResolveGenericType call fix --- IDEHelper/Compiler/BfAutoComplete.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IDEHelper/Compiler/BfAutoComplete.cpp b/IDEHelper/Compiler/BfAutoComplete.cpp index 8fff7af7..2101c33b 100644 --- a/IDEHelper/Compiler/BfAutoComplete.cpp +++ b/IDEHelper/Compiler/BfAutoComplete.cpp @@ -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;