timefold-solver icon indicating copy to clipboard operation
timefold-solver copied to clipboard

Shadow source that resolves to a fact should fail fast

Open triceo opened this issue 7 months ago • 0 comments

The syntax for shadow sources allows for facts to be referenced, to allow for reaching variables transitively. However, it also allows for the expression to resolve to a fact. This should fail fast, as there is no practical reason to introduce such a declaration.

Example:

  • variable.fact.variable is a valid expression.
  • variable.fact fails fast.

triceo avatar Apr 24 '25 12:04 triceo