...
1-- in.cue --
2a: {
3 d: int
4 b: {
5 c: d
6 }
7}
8x: {
9 d: 2
10 b: a.b.c // should be int, not 2
11}
12a1: y: 5
13a1: a2: a3: a4: a5: a1.y
14b: a1.a2.a3.a4.a5
15-- out/eval/stats --
16Leaks: 0
17Freed: 15
18Reused: 9
19Allocs: 6
20Retain: 0
21
22Unifications: 15
23Conjuncts: 22
24Disjuncts: 15
25-- out/eval --
26(struct){
27 a: (struct){
28 d: (int){ int }
29 b: (struct){
30 c: (int){ int }
31 }
32 }
33 x: (struct){
34 d: (int){ 2 }
35 b: (int){ int }
36 }
37 a1: (struct){
38 y: (int){ 5 }
39 a2: (struct){
40 a3: (struct){
41 a4: (struct){
42 a5: (int){ 5 }
43 }
44 }
45 }
46 }
47 b: (int){ 5 }
48}
49-- out/compile --
50--- in.cue
51{
52 a: {
53 d: int
54 b: {
55 c: 〈1;d〉
56 }
57 }
58 x: {
59 d: 2
60 b: 〈1;a〉.b.c
61 }
62 a1: {
63 y: 5
64 }
65 a1: {
66 a2: {
67 a3: {
68 a4: {
69 a5: 〈4;a1〉.y
70 }
71 }
72 }
73 }
74 b: 〈0;a1〉.a2.a3.a4.a5
75}
View as plain text