...

Text file src/cuelang.org/go/cue/testdata/fulleval/047_dont_bind_to_string_labels.txtar

Documentation: cuelang.org/go/cue/testdata/fulleval

     1# DO NOT EDIT; generated by go run testdata/gen.go
     2#
     3#name: dont bind to string labels
     4#evalFull
     5-- in.cue --
     6x: 1
     7y: {
     8	"x": 2
     9	z:   x
    10}
    11-- out/def --
    12x: 1
    13y: {
    14	x: 2
    15	z: 1
    16}
    17-- out/export --
    18x: 1
    19y: {
    20	x: 2
    21	z: 1
    22}
    23-- out/yaml --
    24x: 1
    25y:
    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/stats --
    42Leaks:  0
    43Freed:  5
    44Reused: 2
    45Allocs: 3
    46Retain: 0
    47
    48Unifications: 5
    49Conjuncts:    6
    50Disjuncts:    5
    51-- out/eval --
    52(struct){
    53  x: (int){ 1 }
    54  y: (struct){
    55    x: (int){ 2 }
    56    z: (int){ 1 }
    57  }
    58}

View as plain text