cuelang.org/go@v0.10.1/tools/flow/testdata/issue2517.txtar (about)

     1  #IgnoreConcrete: true
     2  #InferTasks: true
     3  -- in.cue --
     4  package x
     5  
     6  root: {
     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 --
    21  graph TD
    22    t0("root.prepare [Ready]")
    23    t1("root.run [Waiting]")
    24    t1-->t0
    25  
    26  -- out/run/t1 --
    27  graph 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 --
    38  Leaks:  0
    39  Freed:  11
    40  Reused: 6
    41  Allocs: 5
    42  Retain: 0
    43  
    44  Unifications: 11
    45  Conjuncts:    20
    46  Disjuncts:    11
    47  -- out/run/t2 --
    48  graph 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 --
    62  Leaks:  0
    63  Freed:  12
    64  Reused: 12
    65  Allocs: 0
    66  Retain: 0
    67  
    68  Unifications: 12
    69  Conjuncts:    24
    70  Disjuncts:    12
    71  -- out/run/stats/totals --
    72  Leaks:  0
    73  Freed:  23
    74  Reused: 18
    75  Allocs: 5
    76  Retain: 0
    77  
    78  Unifications: 23
    79  Conjuncts:    44
    80  Disjuncts:    23