cuelang.org/go@v0.13.0/cue/testdata/eval/issue3813.txtar (about)

     1  -- x.cue --
     2  x: {[string]: _}
     3  x: #d
     4  #d: f: _
     5  
     6  y: { x }
     7  y: f: true
     8  -- out/compile --
     9  --- x.cue
    10  {
    11    x: {
    12      [string]: _
    13    }
    14    x: 〈0;#d〉
    15    #d: {
    16      f: _
    17    }
    18    y: {
    19      〈1;x〉
    20    }
    21    y: {
    22      f: true
    23    }
    24  }
    25  -- out/eval/stats --
    26  Leaks:  0
    27  Freed:  7
    28  Reused: 3
    29  Allocs: 4
    30  Retain: 1
    31  
    32  Unifications: 7
    33  Conjuncts:    17
    34  Disjuncts:    8
    35  -- out/eval --
    36  (struct){
    37    x: (#struct){
    38      f: (_){ _ }
    39    }
    40    #d: (#struct){
    41      f: (_){ _ }
    42    }
    43    y: (#struct){
    44      f: (bool){ true }
    45    }
    46  }