this repo has no description
at master 265 lines 3.6 kB view raw
1-- cue.mod/module.cue -- 2module: "mod.test/test" 3language: version: "v0.9.0" 4-- sub/sub.cue -- 5package sub 6 7User: "sub" 8-- in.cue -- 9import "mod.test/test/sub" 10 11root: { 12 a: { 13 $id: "valToOut" 14 val: "foo \(sub.User)" 15 out: string 16 } 17 b: { 18 $id: "valToOut" 19 $after: a 20 val: "bar" 21 out: string 22 } 23 c: { 24 $id: "valToOut" 25 out: a.out + b.out 26 } 27} 28-- out/run/errors -- 29-- out/run/t0 -- 30graph TD 31 t0("root.a [Ready]") 32 t1("root.b [Waiting]") 33 t1-->t0 34 t2("root.c [Waiting]") 35 t2-->t0 36 t2-->t1 37 38-- out/run/t1 -- 39graph TD 40 t0("root.a [Terminated]") 41 t1("root.b [Ready]") 42 t1-->t0 43 t2("root.c [Waiting]") 44 t2-->t0 45 t2-->t1 46 47-- out/run/t1/value -- 48{ 49 $id: "valToOut" 50 val: "foo sub" 51 out: "foo sub" 52} 53-- out/run/t2 -- 54graph TD 55 t0("root.a [Terminated]") 56 t1("root.b [Terminated]") 57 t1-->t0 58 t2("root.c [Ready]") 59 t2-->t0 60 t2-->t1 61 62-- out/run/t2/value -- 63{ 64 $id: "valToOut" 65 $after: { 66 $id: "valToOut" 67 val: "foo sub" 68 out: "foo sub" 69 } 70 val: "bar" 71 out: "bar" 72} 73-- out/run/t3 -- 74graph TD 75 t0("root.a [Terminated]") 76 t1("root.b [Terminated]") 77 t1-->t0 78 t2("root.c [Terminated]") 79 t2-->t0 80 t2-->t1 81 82-- out/run/t3/value -- 83{ 84 $id: "valToOut" 85 out: "foo subbar" 86} 87-- out/run-v3/t1/stats -- 88Leaks: 0 89Freed: 14 90Reused: 5 91Allocs: 9 92Retain: 0 93 94Unifications: 14 95Conjuncts: 19 96Disjuncts: 0 97ResolveDep: 5 98 99GenerationMismatch: 2 100 101NumCloseIDs: 1 102-- diff/-out/run-v3/t1/stats<==>+out/run/t1/stats -- 103diff old new 104--- old 105+++ new 106@@ -1,9 +1,14 @@ 107 Leaks: 0 108-Freed: 17 109-Reused: 12 110-Allocs: 5 111+Freed: 14 112+Reused: 5 113+Allocs: 9 114 Retain: 0 115 116-Unifications: 17 117-Conjuncts: 30 118-Disjuncts: 17 119+Unifications: 14 120+Conjuncts: 19 121+Disjuncts: 0 122+ResolveDep: 5 123+ 124+GenerationMismatch: 2 125+ 126+NumCloseIDs: 1 127-- out/run/t1/stats -- 128Leaks: 0 129Freed: 17 130Reused: 12 131Allocs: 5 132Retain: 0 133 134Unifications: 17 135Conjuncts: 30 136Disjuncts: 17 137-- out/run-v3/t2/stats -- 138Leaks: 0 139Freed: 14 140Reused: 14 141Allocs: 0 142Retain: 0 143 144Unifications: 14 145Conjuncts: 24 146Disjuncts: 0 147ResolveDep: 6 148 149GenerationMismatch: 2 150 151NumCloseIDs: 2 152-- diff/-out/run-v3/t2/stats<==>+out/run/t2/stats -- 153diff old new 154--- old 155+++ new 156@@ -1,9 +1,14 @@ 157 Leaks: 0 158-Freed: 17 159-Reused: 17 160+Freed: 14 161+Reused: 14 162 Allocs: 0 163 Retain: 0 164 165-Unifications: 17 166-Conjuncts: 31 167-Disjuncts: 17 168+Unifications: 14 169+Conjuncts: 24 170+Disjuncts: 0 171+ResolveDep: 6 172+ 173+GenerationMismatch: 2 174+ 175+NumCloseIDs: 2 176-- out/run/t2/stats -- 177Leaks: 0 178Freed: 17 179Reused: 17 180Allocs: 0 181Retain: 0 182 183Unifications: 17 184Conjuncts: 31 185Disjuncts: 17 186-- out/run-v3/t3/stats -- 187Leaks: 0 188Freed: 0 189Reused: 0 190Allocs: 0 191Retain: 0 192 193Unifications: 0 194Conjuncts: 0 195Disjuncts: 0 196ResolveDep: 2 197-- diff/-out/run-v3/t3/stats<==>+out/run/t3/stats -- 198diff old new 199--- old 200+++ new 201@@ -7,3 +7,4 @@ 202 Unifications: 0 203 Conjuncts: 0 204 Disjuncts: 0 205+ResolveDep: 2 206-- out/run/t3/stats -- 207Leaks: 0 208Freed: 0 209Reused: 0 210Allocs: 0 211Retain: 0 212 213Unifications: 0 214Conjuncts: 0 215Disjuncts: 0 216-- out/run-v3/stats/totals -- 217Leaks: 0 218Freed: 28 219Reused: 19 220Allocs: 9 221Retain: 0 222 223Unifications: 28 224Conjuncts: 43 225Disjuncts: 0 226ResolveDep: 13 227 228GenerationMismatch: 4 229 230NumCloseIDs: 3 231-- diff/-out/run-v3/stats/totals<==>+out/run/stats/totals -- 232diff old new 233--- old 234+++ new 235@@ -1,9 +1,14 @@ 236 Leaks: 0 237-Freed: 34 238-Reused: 29 239-Allocs: 5 240+Freed: 28 241+Reused: 19 242+Allocs: 9 243 Retain: 0 244 245-Unifications: 34 246-Conjuncts: 61 247-Disjuncts: 34 248+Unifications: 28 249+Conjuncts: 43 250+Disjuncts: 0 251+ResolveDep: 13 252+ 253+GenerationMismatch: 4 254+ 255+NumCloseIDs: 3 256-- out/run/stats/totals -- 257Leaks: 0 258Freed: 34 259Reused: 29 260Allocs: 5 261Retain: 0 262 263Unifications: 34 264Conjuncts: 61 265Disjuncts: 34