2
0
Эх сурвалжийг харах

Fixed forcing creating of func with unreified methods

Brian Fiete 6 жил өмнө
parent
commit
e911f02288

+ 1 - 1
IDEHelper/Compiler/BfModuleTypeUtils.cpp

@@ -4097,7 +4097,7 @@ void BfModule::AddMethodToWorkList(BfMethodInstance* methodInstance)
 		return;
 		return;
 	}
 	}
 
 
-	if ((!methodInstance->mIRFunction) && (!methodInstance->mIsUnspecialized))
+	if ((!mCompiler->mIsResolveOnly) && (!methodInstance->mIRFunction) && (methodInstance->mIsReified) && (!methodInstance->mIsUnspecialized))
 	{
 	{
 		if (!mIsModuleMutable)
 		if (!mIsModuleMutable)
 			StartExtension();
 			StartExtension();