...
1-- in.cue --
2root: {
3 a: {
4 $id: "valToOut"
5 val: "foo"
6 out: string
7 }
8 b: {
9 $id: "valToOut"
10 $after: a
11 val: "bar"
12 out: string
13 }
14 c: {
15 $id: "valToOut"
16 out: a.out + b.out
17 }
18}
19-- out/run/errors --
20-- out/run/t0 --
21graph TD
22 t0("root.a [Ready]")
23 t1("root.b [Waiting]")
24 t1-->t0
25 t2("root.c [Waiting]")
26 t2-->t0
27 t2-->t1
28
29-- out/run/t1 --
30graph TD
31 t0("root.a [Terminated]")
32 t1("root.b [Ready]")
33 t1-->t0
34 t2("root.c [Waiting]")
35 t2-->t0
36 t2-->t1
37
38-- out/run/t1/value --
39{
40 $id: "valToOut"
41 val: "foo"
42 out: "foo"
43}
44-- out/run/t2 --
45graph TD
46 t0("root.a [Terminated]")
47 t1("root.b [Terminated]")
48 t1-->t0
49 t2("root.c [Ready]")
50 t2-->t0
51 t2-->t1
52
53-- out/run/t2/value --
54{
55 $id: "valToOut"
56 $after: {
57 $id: "valToOut"
58 val: "foo"
59 out: "foo"
60 }
61 val: "bar"
62 out: "bar"
63}
64-- out/run/t3 --
65graph TD
66 t0("root.a [Terminated]")
67 t1("root.b [Terminated]")
68 t1-->t0
69 t2("root.c [Terminated]")
70 t2-->t0
71 t2-->t1
72
73-- out/run/t3/value --
74{
75 $id: "valToOut"
76 out: "foobar"
77}
78-- out/run/t1/stats --
79Leaks: 0
80Freed: 17
81Reused: 12
82Allocs: 5
83Retain: 0
84
85Unifications: 17
86Conjuncts: 28
87Disjuncts: 17
88-- out/run/t2/stats --
89Leaks: 0
90Freed: 17
91Reused: 17
92Allocs: 0
93Retain: 0
94
95Unifications: 17
96Conjuncts: 28
97Disjuncts: 17
98-- out/run/t3/stats --
99Leaks: 0
100Freed: 0
101Reused: 0
102Allocs: 0
103Retain: 0
104
105Unifications: 0
106Conjuncts: 0
107Disjuncts: 0
108-- out/run/stats/totals --
109Leaks: 0
110Freed: 34
111Reused: 29
112Allocs: 5
113Retain: 0
114
115Unifications: 34
116Conjuncts: 56
117Disjuncts: 34
View as plain text