Ver Fonte

Simple circular reference detection fix

Brian Fiete há 3 anos atrás
pai
commit
f9b4526934
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      IDEHelper/Compiler/BfModuleTypeUtils.cpp

+ 1 - 1
IDEHelper/Compiler/BfModuleTypeUtils.cpp

@@ -932,7 +932,7 @@ bool BfModule::CheckCircularDataError()
 				return false;
 		}
 
-		if ((checkTypeState->mType == mCurTypeInstance) && (checkIdx > 0))
+		if ((checkTypeState->mType == mCurTypeInstance) && (checkIdx > 1))
 		{
 			if (circularTypeStateEnd == NULL)
 				circularTypeStateEnd = checkTypeState;