Example error text
When Variable B was computed, it did not set the value of Variable A as a side-effect.
The above error would occur when Variable
A is defined as:
This definition of
A indicates that its value is set when
B is computed. For this to happen, somewhere inside
B's definition, it must assign a value to
A. In other words,
B's definition must somewhere contain:
B does not assign to
A, then this error occurs.
A's definition as a ComputedBy(B) is essentially a contract saying that
B must set its value as a side-effect --
B will also compute
B's own value, of course.
A differently, or make sure that
B assigns a value to
A when it computes.
Proposed revised message
Variable A is defined using ComputedBy(B), but B does not actually compute and assign a value to A.
Do you want to edit the Definition of A?
[Yes] [No] [Cancel]