Error Messages/40627

Error text

The definition of 'Pr_t' cannot be parsed due to a circular dependency.


This occurs when some value needed for parsing the definition cannot be computed unless the definition is already parsed. This value needed is most likely a table that appears within the definition. To fix, make sure that the indexes used by the table do not depend, directly or indirectly, on the table itself.

Here is a simple example:

Index I := 1..Size(T)
Variable T := Table(I)(1, 2, 3)

In this example, the definition of T cannot be parsed because parsing the expression Table(I)(1, 2, 3) requires the index value for I. The index value of I bases itself on the Size of the computed result of T. Hence, a circular dependency exists.

See Also


You are not allowed to post comments.