cuelang.org/go@v0.10.1/tools/flow/testdata/issue2965.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  		// Note: the string interpolation here is the only difference
    13  		// from issue2517.txtar. It makes the value incomplete
    14  		// rather than just non-concrete.
    15  		input: "\(prepare.stdout)"
    16  	}
    17  	run: {
    18  		$id: "run"
    19  		env: env2
    20  	}
    21  }
    22  -- out/run/errors --
    23  -- out/run/t0 --
    24  graph TD
    25    t0("root.prepare [Ready]")
    26    t1("root.run [Waiting]")
    27    t1-->t0
    28  
    29  -- out/run/t1 --
    30  graph TD
    31    t0("root.prepare [Terminated]")
    32    t1("root.run [Ready]")
    33    t1-->t0
    34  
    35  -- out/run/t1/value --
    36  {
    37  	$id:    "prepare"
    38  	stdout: "foo"
    39  }
    40  -- out/run/t1/stats --
    41  Leaks:  0
    42  Freed:  11
    43  Reused: 6
    44  Allocs: 5
    45  Retain: 0
    46  
    47  Unifications: 11
    48  Conjuncts:    16
    49  Disjuncts:    11
    50  -- out/run/t2 --
    51  graph TD
    52    t0("root.prepare [Terminated]")
    53    t1("root.run [Terminated]")
    54    t1-->t0
    55  
    56  -- out/run/t2/value --
    57  {
    58  	$id:    "run"
    59  	stdout: "foo"
    60  	env: {
    61  		input: "foo"
    62  	}
    63  }
    64  -- out/run/t2/stats --
    65  Leaks:  0
    66  Freed:  12
    67  Reused: 12
    68  Allocs: 0
    69  Retain: 0
    70  
    71  Unifications: 12
    72  Conjuncts:    20
    73  Disjuncts:    12
    74  -- out/run/stats/totals --
    75  Leaks:  0
    76  Freed:  23
    77  Reused: 18
    78  Allocs: 5
    79  Retain: 0
    80  
    81  Unifications: 23
    82  Conjuncts:    36
    83  Disjuncts:    23