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

Simple circular reference detection fix

Brian Fiete 3 жил өмнө
parent
commit
f9b4526934

+ 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;