cuelang.org/go@v0.13.0/cue/testdata/definitions/root1.txtar (about)

     1  -- in.cue --
     2  // Test embedding at root of file
     3  root1: 1
     4  #Root1: x: {}
     5  #Root1 & { }
     6  -- out/eval/stats --
     7  Leaks:  0
     8  Freed:  5
     9  Reused: 2
    10  Allocs: 3
    11  Retain: 1
    12  
    13  Unifications: 5
    14  Conjuncts:    8
    15  Disjuncts:    6
    16  -- out/eval --
    17  (#struct){
    18    root1: (int){ 1 }
    19    #Root1: (#struct){
    20      x: (#struct){
    21      }
    22    }
    23    x: (#struct){
    24    }
    25  }
    26  -- out/compile --
    27  --- in.cue
    28  {
    29    root1: 1
    30    #Root1: {
    31      x: {}
    32    }
    33    (〈0;#Root1〉 & {})
    34  }