Debian Codegraph @

tests/spec/unit/regression/follow_id_absent_crash.mzn

raw
1 /***
2 !Test
3 expected: !Result
4 solution: !Solution
5 y: null
6 ***/
7
8 % Following the id chain y -> x -> <> should stop at the declaration before <>
9 % Previously it would return <> and cause crashes during flattening
10
11 var opt bool: y :: add_to_output = x;
12 var opt bool: x = <>;
13