...
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 --
6a: {
7 b: 2.0
8 s: "abc"
9}
10b: 2.0
11c: a.c
12d: a["d"]
13e: 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 --
29Leaks: 0
30Freed: 8
31Reused: 5
32Allocs: 3
33Retain: 0
34
35Unifications: 8
36Conjuncts: 14
37Disjuncts: 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}
View as plain text