| # DO NOT EDIT; generated by go run testdata/gen.go |
| # |
| #evalPartial |
| -- in.cue -- |
| a: b.c.d |
| b: c: {d: 3} |
| c: {c: d.d} |
| d: {d: 2} |
| -- out/def -- |
| a: 3 |
| b: { |
| c: { |
| d: 3 |
| } |
| } |
| c: { |
| c: 2 |
| } |
| d: { |
| d: 2 |
| } |
| -- out/export -- |
| a: 3 |
| b: { |
| c: { |
| d: 3 |
| } |
| } |
| c: { |
| c: 2 |
| } |
| d: { |
| d: 2 |
| } |
| -- out/yaml -- |
| a: 3 |
| b: |
| c: |
| d: 3 |
| c: |
| c: 2 |
| d: |
| d: 2 |
| -- out/json -- |
| {"a":3,"b":{"c":{"d":3}},"c":{"c":2},"d":{"d":2}} |
| -- out/legacy-debug -- |
| <0>{a: 3, b: <1>{c: <2>{d: 3}}, c: <3>{c: 2}, d: <4>{d: 2}} |
| -- out/compile -- |
| --- in.cue |
| { |
| a: 〈0;b〉.c.d |
| b: { |
| c: { |
| d: 3 |
| } |
| } |
| c: { |
| c: 〈1;d〉.d |
| } |
| d: { |
| d: 2 |
| } |
| } |
| -- out/eval -- |
| (struct){ |
| a: (int){ 3 } |
| b: (struct){ |
| c: (struct){ |
| d: (int){ 3 } |
| } |
| } |
| c: (struct){ |
| c: (int){ 2 } |
| } |
| d: (struct){ |
| d: (int){ 2 } |
| } |
| } |