Debian Codegraph @

tools/trim/testdata/5.txtar

raw
1 Compare and contrast with 3 and 30.
2
3 The conjuncts in x and y are directly reachable (i.e. without going
4 via z) from the evaluation result. So they can't be removed. Because x
5 survives, we also keep all uses of x. So z: x cannot be removed.
6
7 -- a.cue --
8 x: string
9 y: "hi"
10 z: x
11 z: y
12 -- out/trim --
13 == a.cue
14 x: string
15 y: "hi"
16 z: x
17 z: y