cuelang.org/go@v0.13.0/cue/testdata/resolve/000_convert___to_top.txtar (about)

     1  #name: convert _ to top
     2  #evalPartial
     3  -- in.cue --
     4  a: {[_]: _}
     5  -- out/def --
     6  a: {
     7  	...
     8  }
     9  -- out/export --
    10  a: {}
    11  -- out/yaml --
    12  a: {}
    13  -- out/json --
    14  {"a":{}}
    15  -- out/legacy-debug --
    16  <0>{a: <1>{...}}
    17  -- out/compile --
    18  --- in.cue
    19  {
    20    a: {
    21      [_]: _
    22    }
    23  }
    24  -- out/eval/stats --
    25  Leaks:  0
    26  Freed:  2
    27  Reused: 0
    28  Allocs: 2
    29  Retain: 0
    30  
    31  Unifications: 2
    32  Conjuncts:    2
    33  Disjuncts:    2
    34  -- out/eval --
    35  (struct){
    36    a: (struct){
    37    }
    38  }