github.com/solo-io/cue@v0.4.7/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 --
    29  (struct){
    30    a: (struct){
    31      b: (float){ 2.0 }
    32      s: (string){ "abc" }
    33    }
    34    b: (float){ 2.0 }
    35    c: (_|_){
    36      // [incomplete] c: undefined field: c:
    37      //     ./in.cue:1:38
    38    }
    39    d: (_|_){
    40      // [incomplete] d: undefined field: d:
    41      //     ./in.cue:1:46
    42    }
    43    e: (_|_){
    44      // [incomplete] e: undefined field: t:
    45      //     ./in.cue:1:57
    46    }
    47  }