timefold-solver
timefold-solver copied to clipboard
Shadow source that resolves to a fact should fail fast
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.variableis a valid expression.variable.factfails fast.