github.com/solo-io/cue@v0.4.7/cue/testdata/fulleval/047_dont_bind_to_string_labels.txtar (about)

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  #name: dont bind to string labels
     4  #evalFull
     5  -- in.cue --
     6  x: 1
     7  y: {
     8  	"x": 2
     9  	z:   x
    10  }
    11  -- out/def --
    12  x: 1
    13  y: {
    14  	x: 2
    15  	z: 1
    16  }
    17  -- out/export --
    18  x: 1
    19  y: {
    20  	x: 2
    21  	z: 1
    22  }
    23  -- out/yaml --
    24  x: 1
    25  y:
    26    x: 2
    27    z: 1
    28  -- out/json --
    29  {"x":1,"y":{"x":2,"z":1}}
    30  -- out/legacy-debug --
    31  <0>{x: 1, y: <1>{x: 2, z: 1}}
    32  -- out/compile --
    33  --- in.cue
    34  {
    35    x: 1
    36    y: {
    37      x: 2
    38      z: 〈1;x〉
    39    }
    40  }
    41  -- out/eval --
    42  (struct){
    43    x: (int){ 1 }
    44    y: (struct){
    45      x: (int){ 2 }
    46      z: (int){ 1 }
    47    }
    48  }