1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Simple circular reference detection fix

This commit is contained in:
Brian Fiete 2021-11-14 18:02:09 -08:00
parent 345746d34d
commit f9b4526934

View file

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