Debian Codegraph @

tools/trim/testdata/33.txtar

raw
1 Do not remove conjuncts that are essential for selecting branches of a
2 disjunction.
3
4 -- a.cue --
5 g: #x & {a: 5}
6 #x: {a: 5, a: int} | {b: 5} | {c: >4}
7 h: #x & {b: 5}
8 i: #x & {c: 5}
9 -- out/trim-v3 --
10 == a.cue
11 g: #x & {a: 5}
12 #x: {a: 5, a: int} | {b: 5} | {c: >4}
13 h: #x & {b: 5}
14 i: #x & {c: 5}
15 -- diff/-out/trim-v3<==>+out/trim --
16 diff old new
17 --- old
18 +++ new
19 @@ -1,5 +1,5 @@
20 == a.cue
21 -g: #x & {}
22 +g: #x & {a: 5}
23 #x: {a: 5, a: int} | {b: 5} | {c: >4}
24 -h: #x & {}
25 +h: #x & {b: 5}
26 i: #x & {c: 5}
27 -- out/trim-v3-noshare --
28 == a.cue
29 g: #x & {a: 5}
30 #x: {a: 5, a: int} | {b: 5} | {c: >4}
31 h: #x & {b: 5}
32 i: #x & {c: 5}
33 -- diff/-out/trim-v3-noshare<==>+out/trim --
34 diff old new
35 --- old
36 +++ new
37 @@ -1,5 +1,5 @@
38 == a.cue
39 -g: #x & {}
40 +g: #x & {a: 5}
41 #x: {a: 5, a: int} | {b: 5} | {c: >4}
42 -h: #x & {}
43 +h: #x & {b: 5}
44 i: #x & {c: 5}
45 -- out/trim --
46 == a.cue
47 g: #x & {}
48 #x: {a: 5, a: int} | {b: 5} | {c: >4}
49 h: #x & {}
50 i: #x & {c: 5}