cuelang.org/go@v0.10.1/cue/testdata/basicrewrite/aliases/aliases.txtar (about)

     1  -- in.cue --
     2  t0: {
     3  	a=_a: _
     4  	let _b = a
     5  	_out: _b
     6  }
     7  t1: {
     8  	_a: b
     9  	let b = c
    10  	c=d: 3
    11  }
    12  -- out/compile --
    13  --- in.cue
    14  {
    15    t0: {
    16      _a: _
    17      let _b#1 = 〈0;_a〉
    18      _out: 〈0;let _b#1〉
    19    }
    20    t1: {
    21      _a: 〈0;let b#2〉
    22      let b#2 = 〈0;d〉
    23      d: 3
    24    }
    25  }
    26  -- out/eval/stats --
    27  Leaks:  0
    28  Freed:  9
    29  Reused: 4
    30  Allocs: 5
    31  Retain: 3
    32  
    33  Unifications: 9
    34  Conjuncts:    14
    35  Disjuncts:    10
    36  -- out/eval --
    37  (struct){
    38    t0: (struct){
    39      _a: (_){ _ }
    40      let _b#1 = (_){ _ }
    41      _out: (_){ _ }
    42    }
    43    t1: (struct){
    44      _a: (int){ 3 }
    45      let b#2 = (int){ 3 }
    46      d: (int){ 3 }
    47    }
    48  }