...
1#IgnoreConcrete: true
2#InferTasks: true
3-- in.cue --
4package p
5
6import (
7 "tool/cli"
8 "encoding/json"
9)
10
11input: [name=string]: {
12 {#in: name, #out: #in}.#out
13}
14root: foo: {
15 cli.Print & {text: json.Marshal(input)}
16}
17-- out/run/errors --
18-- out/run/t0 --
19graph TD
20 t0("root.foo [Ready]")
21
22-- out/run/t1 --
23graph TD
24 t0("root.foo [Terminated]")
25
26-- out/run/t1/value --
27{
28 $id: "tool/cli.Print"
29 stdout: "foo"
30 text: "{}"
31}
32-- out/run/t1/stats --
33Leaks: 0
34Freed: 9
35Reused: 3
36Allocs: 6
37Retain: 0
38
39Unifications: 7
40Conjuncts: 16
41Disjuncts: 9
42-- out/run/stats/totals --
43Leaks: 0
44Freed: 9
45Reused: 3
46Allocs: 6
47Retain: 0
48
49Unifications: 7
50Conjuncts: 16
51Disjuncts: 9
View as plain text