cuelang.org/go@v0.10.1/tools/flow/testdata/cycle.txtar (about) 1 -- in.cue -- 2 root: { 3 a: { 4 $id: "valToOut" 5 $after: c.$id 6 } 7 b: { 8 $id: "valToOut" 9 $after: a.$id 10 out: "foo" 11 } 12 c: { 13 $id: "valToOut" 14 in: b.out 15 } 16 } 17 -- out/run/errors -- 18 error: cyclic task dependency: 19 task root.a refers to 20 task root.c refers to 21 task root.b refers to 22 task root.a: 23 ./testdata/in.cue:2:2 24 ./testdata/in.cue:6:2 25 ./testdata/in.cue:11:2 26 -- out/run/t0 -- 27 graph TD 28 t0("root.a [Waiting]") 29 t0-->t2 30 t1("root.b [Waiting]") 31 t1-->t0 32 t2("root.c [Waiting]") 33 t2-->t1 34 35 -- out/run/stats/totals -- 36 Leaks: 0 37 Freed: 0 38 Reused: 0 39 Allocs: 0 40 Retain: 0 41 42 Unifications: 0 43 Conjuncts: 0 44 Disjuncts: 0