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