#InferTasks: true
-- in.cue --
top0: {
	$id: "valToOut"
}
top1: {
	$id:    "valToOut"
	$after: top0
}

top3: {
	$id: string // not a task
}

root: {
	t1: {
		$id: "valToOut"
		$after: [top1, top3]
	}
}
-- out/run/errors --
-- out/run/t0 --
graph TD
  t0("root.t1 [Waiting]")
  t0-->t1
  t1("top1 [Waiting]")
  t1-->t2
  t2("top0 [Ready]")

-- out/run/t1 --
graph TD
  t0("root.t1 [Waiting]")
  t0-->t1
  t1("top1 [Ready]")
  t1-->t2
  t2("top0 [Terminated]")

-- out/run/t1/value --
{
	$id: "valToOut"
}
-- out/run/t2 --
graph TD
  t0("root.t1 [Ready]")
  t0-->t1
  t1("top1 [Terminated]")
  t1-->t2
  t2("top0 [Terminated]")

-- out/run/t2/value --
{
	$id: "valToOut"
	$after: {
		$id: "valToOut"
	}
}
-- out/run/t3 --
graph TD
  t0("root.t1 [Terminated]")
  t0-->t1
  t1("top1 [Terminated]")
  t1-->t2
  t2("top0 [Terminated]")

-- out/run/t3/value --
{
	$id: "valToOut"
	$after: [{
		$id: "valToOut"
		$after: {
			$id: "valToOut"
		}
	}, {
		$id: string
	}]
}
-- out/run/t1/stats --
Leaks:  0
Freed:  0
Reused: 0
Allocs: 0
Retain: 0

Unifications: 0
Conjuncts:    0
Disjuncts:    0
-- out/run-v3/t2/stats --
Leaks:  0
Freed:  0
Reused: 0
Allocs: 0
Retain: 0

Unifications: 0
Conjuncts:    0
Disjuncts:    0
ResolveDep:   1
-- diff/-out/run-v3/t2/stats<==>+out/run/t2/stats --
diff old new
--- old
+++ new
@@ -7,3 +7,4 @@
 Unifications: 0
 Conjuncts:    0
 Disjuncts:    0
+ResolveDep:   1
-- out/run/t2/stats --
Leaks:  0
Freed:  0
Reused: 0
Allocs: 0
Retain: 0

Unifications: 0
Conjuncts:    0
Disjuncts:    0
-- out/run-v3/t3/stats --
Leaks:  0
Freed:  0
Reused: 0
Allocs: 0
Retain: 0

Unifications: 0
Conjuncts:    0
Disjuncts:    0
ResolveDep:   2
-- diff/-out/run-v3/t3/stats<==>+out/run/t3/stats --
diff old new
--- old
+++ new
@@ -7,3 +7,4 @@
 Unifications: 0
 Conjuncts:    0
 Disjuncts:    0
+ResolveDep:   2
-- out/run/t3/stats --
Leaks:  0
Freed:  0
Reused: 0
Allocs: 0
Retain: 0

Unifications: 0
Conjuncts:    0
Disjuncts:    0
-- out/run-v3/stats/totals --
Leaks:  0
Freed:  0
Reused: 0
Allocs: 0
Retain: 0

Unifications: 0
Conjuncts:    0
Disjuncts:    0
ResolveDep:   3
-- diff/-out/run-v3/stats/totals<==>+out/run/stats/totals --
diff old new
--- old
+++ new
@@ -7,3 +7,4 @@
 Unifications: 0
 Conjuncts:    0
 Disjuncts:    0
+ResolveDep:   3
-- out/run/stats/totals --
Leaks:  0
Freed:  0
Reused: 0
Allocs: 0
Retain: 0

Unifications: 0
Conjuncts:    0
Disjuncts:    0
