Semantic Error (SEM1014): Recursive dependency found in data type '...'.
In a data type worksheet, two user-defined data types are declared which contain references to themselves or reference each other. This is not allowed as it results in a recursive dependency.
Error examples
- In the following error case, a structure contains a field of itself.
- Below, the error is reported twice: For MyStruct_a because it contains a field of MyStruct_b and for MyStruct_b because it references MyStruct_a.
- In the third error case, the message is reported three times because the two dimensional array is based on MyArrayOfStruct which has a recursive dependency with MyStruct.