...
1#IgnoreConcrete: true
2#InferTasks: true
3-- in.cue --
4package x
5
6root: {
7 prepare: {
8 $id: "prepare"
9 stdout: string
10 }
11 env2: {
12 // Note: the string interpolation here is the only difference
13 // from issue2517.txtar. It makes the value incomplete
14 // rather than just non-concrete.
15 input: "\(prepare.stdout)"
16 }
17 run: {
18 $id: "run"
19 env: env2
20 }
21}
22-- out/run/errors --
23-- out/run/t0 --
24graph TD
25 t0("root.prepare [Ready]")
26 t1("root.run [Waiting]")
27 t1-->t0
28
29-- out/run/t1 --
30graph TD
31 t0("root.prepare [Terminated]")
32 t1("root.run [Ready]")
33 t1-->t0
34
35-- out/run/t1/value --
36{
37 $id: "prepare"
38 stdout: "foo"
39}
40-- out/run/t1/stats --
41Leaks: 0
42Freed: 11
43Reused: 6
44Allocs: 5
45Retain: 0
46
47Unifications: 11
48Conjuncts: 16
49Disjuncts: 11
50-- out/run/t2 --
51graph TD
52 t0("root.prepare [Terminated]")
53 t1("root.run [Terminated]")
54 t1-->t0
55
56-- out/run/t2/value --
57{
58 $id: "run"
59 stdout: "foo"
60 env: {
61 input: "foo"
62 }
63}
64-- out/run/t2/stats --
65Leaks: 0
66Freed: 12
67Reused: 12
68Allocs: 0
69Retain: 0
70
71Unifications: 12
72Conjuncts: 20
73Disjuncts: 12
74-- out/run/stats/totals --
75Leaks: 0
76Freed: 23
77Reused: 18
78Allocs: 5
79Retain: 0
80
81Unifications: 23
82Conjuncts: 36
83Disjuncts: 23
View as plain text