...

Text file src/cuelang.org/go/tools/flow/testdata/issue2517.txtar

Documentation: cuelang.org/go/tools/flow/testdata

     1#IgnoreConcrete: true
     2#InferTasks: true
     3-- in.cue --
     4package x
     5
     6root: {
     7	prepare: {
     8		$id: "prepare"
     9		stdout: string
    10	}
    11	env2: {
    12		input: prepare.stdout
    13	}
    14	run: {
    15		$id: "run"
    16		env: env2
    17	}
    18}
    19-- out/run/errors --
    20-- out/run/t0 --
    21graph TD
    22  t0("root.prepare [Ready]")
    23  t1("root.run [Waiting]")
    24  t1-->t0
    25
    26-- out/run/t1 --
    27graph TD
    28  t0("root.prepare [Terminated]")
    29  t1("root.run [Ready]")
    30  t1-->t0
    31
    32-- out/run/t1/value --
    33{
    34	$id:    "prepare"
    35	stdout: "foo"
    36}
    37-- out/run/t1/stats --
    38Leaks:  0
    39Freed:  11
    40Reused: 6
    41Allocs: 5
    42Retain: 0
    43
    44Unifications: 11
    45Conjuncts:    20
    46Disjuncts:    11
    47-- out/run/t2 --
    48graph TD
    49  t0("root.prepare [Terminated]")
    50  t1("root.run [Terminated]")
    51  t1-->t0
    52
    53-- out/run/t2/value --
    54{
    55	$id:    "run"
    56	stdout: "foo"
    57	env: {
    58		input: "foo"
    59	}
    60}
    61-- out/run/t2/stats --
    62Leaks:  0
    63Freed:  12
    64Reused: 12
    65Allocs: 0
    66Retain: 0
    67
    68Unifications: 12
    69Conjuncts:    24
    70Disjuncts:    12
    71-- out/run/stats/totals --
    72Leaks:  0
    73Freed:  23
    74Reused: 18
    75Allocs: 5
    76Retain: 0
    77
    78Unifications: 23
    79Conjuncts:    44
    80Disjuncts:    23

View as plain text