cuelang.org/go@v0.10.1/cue/testdata/export/006.txtar (about)

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  -- in.cue --
     4  {a: {b: 2.0, s: "abc"}, b: a.b, c: a.c, d: a["d"], e: a.t[2:3]}
     5  -- out/def --
     6  a: {
     7  	b: 2.0
     8  	s: "abc"
     9  }
    10  b: 2.0
    11  c: a.c
    12  d: a["d"]
    13  e: a.t[2:3]
    14  -- out/compile --
    15  --- in.cue
    16  {
    17    {
    18      a: {
    19        b: 2.0
    20        s: "abc"
    21      }
    22      b: 〈0;a〉.b
    23      c: 〈0;a〉.c
    24      d: 〈0;a〉["d"]
    25      e: 〈0;a〉.t[2:3]
    26    }
    27  }
    28  -- out/eval/stats --
    29  Leaks:  0
    30  Freed:  8
    31  Reused: 5
    32  Allocs: 3
    33  Retain: 0
    34  
    35  Unifications: 8
    36  Conjuncts:    14
    37  Disjuncts:    8
    38  -- out/eval --
    39  (struct){
    40    a: (struct){
    41      b: (float){ 2.0 }
    42      s: (string){ "abc" }
    43    }
    44    b: (float){ 2.0 }
    45    c: (_|_){
    46      // [incomplete] c: undefined field: c:
    47      //     ./in.cue:1:38
    48    }
    49    d: (_|_){
    50      // [incomplete] d: undefined field: d:
    51      //     ./in.cue:1:46
    52    }
    53    e: (_|_){
    54      // [incomplete] e: undefined field: t:
    55      //     ./in.cue:1:57
    56    }
    57  }