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

     1  -- in.cue --
     2  c: "foo"
     3  a: b: int
     4  #Schema
     5  #Schema: close({ a: b: int})
     6  
     7  x: {
     8  	c: "foo"
     9  	a: b: int
    10  	#Schema
    11  	#Schema: close({ a: b: int})
    12  }
    13  -- out/eval/stats --
    14  Leaks:  4
    15  Freed:  14
    16  Reused: 9
    17  Allocs: 9
    18  Retain: 6
    19  
    20  Unifications: 18
    21  Conjuncts:    32
    22  Disjuncts:    20
    23  -- out/eval --
    24  (#struct){
    25    c: (string){ "foo" }
    26    a: (#struct){
    27      b: (int){ int }
    28    }
    29    #Schema: (#struct){
    30      a: (#struct){
    31        b: (int){ int }
    32      }
    33    }
    34    x: (#struct){
    35      c: (string){ "foo" }
    36      a: (#struct){
    37        b: (int){ int }
    38      }
    39      #Schema: (#struct){
    40        a: (#struct){
    41          b: (int){ int }
    42        }
    43      }
    44    }
    45  }
    46  -- out/compile --
    47  --- in.cue
    48  {
    49    c: "foo"
    50    a: {
    51      b: int
    52    }
    53    〈0;#Schema〉
    54    #Schema: close({
    55      a: {
    56        b: int
    57      }
    58    })
    59    x: {
    60      c: "foo"
    61      a: {
    62        b: int
    63      }
    64      〈0;#Schema〉
    65      #Schema: close({
    66        a: {
    67          b: int
    68        }
    69      })
    70    }
    71  }