Explorar el Código

Fixed forcing creating of func with unreified methods

Brian Fiete hace 6 años
padre
commit
e911f02288
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      IDEHelper/Compiler/BfModuleTypeUtils.cpp

+ 1 - 1
IDEHelper/Compiler/BfModuleTypeUtils.cpp

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