Debian Codegraph @

tools/trim/testdata/38.txtar

raw
1 issue 2356
2 -- a.cue --
3 #IPPool: {
4 cidr: string
5 }
6
7 #cluster: {
8 podCIDR: string
9 IPPool: #IPPool & {
10 cidr: podCIDR
11 }
12 }
13
14 clusters: [_]: #cluster
15
16 clusters: vagrant: podCIDR: "abc"
17 -- out/trim-v3 --
18 == a.cue
19 #IPPool: {
20 cidr: string
21 }
22
23 #cluster: {
24 podCIDR: string
25 IPPool: #IPPool & {
26 cidr: podCIDR
27 }
28 }
29
30 clusters: [_]: #cluster
31
32 clusters: vagrant: podCIDR: "abc"
33 -- diff/-out/trim-v3<==>+out/trim --
34 diff old new
35 --- old
36 +++ new
37 @@ -5,7 +5,9 @@
38
39 #cluster: {
40 podCIDR: string
41 - IPPool: #IPPool & {}
42 + IPPool: #IPPool & {
43 + cidr: podCIDR
44 + }
45 }
46
47 clusters: [_]: #cluster
48 -- out/trim-v3-noshare --
49 == a.cue
50 #IPPool: {
51 cidr: string
52 }
53
54 #cluster: {
55 podCIDR: string
56 IPPool: #IPPool & {
57 cidr: podCIDR
58 }
59 }
60
61 clusters: [_]: #cluster
62
63 clusters: vagrant: podCIDR: "abc"
64 -- diff/-out/trim-v3-noshare<==>+out/trim --
65 diff old new
66 --- old
67 +++ new
68 @@ -5,7 +5,9 @@
69
70 #cluster: {
71 podCIDR: string
72 - IPPool: #IPPool & {}
73 + IPPool: #IPPool & {
74 + cidr: podCIDR
75 + }
76 }
77
78 clusters: [_]: #cluster
79 -- out/trim --
80 == a.cue
81 #IPPool: {
82 cidr: string
83 }
84
85 #cluster: {
86 podCIDR: string
87 IPPool: #IPPool & {}
88 }
89
90 clusters: [_]: #cluster
91
92 clusters: vagrant: podCIDR: "abc"