github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/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