Browse Source

Fixed forcing creating of func with unreified methods

Brian Fiete 6 years ago
parent
commit
e911f02288
1 changed files with 1 additions and 1 deletions
  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();