...
1-- cue.mod/module.cue --
2module: "mod.test"
3-- foo.cue --
4package foo
5
6import "mod.test/pkg:bar"
7
8bar
9zz: 3
10-- pkg/bar.cue --
11package bar
12
13import "mod.test/pkg:baz"
14
15baz
16yy: 2
17-- pkg/baz.cue --
18package baz
19
20xx: 1
21-- out/eval/stats --
22Leaks: 1
23Freed: 6
24Reused: 3
25Allocs: 4
26Retain: 2
27
28Unifications: 7
29Conjuncts: 13
30Disjuncts: 8
31-- out/evalalpha --
32(struct){
33 zz: (int){ 3 }
34 yy: (int){ 2 }
35 xx: (int){ 1 }
36}
37-- diff/-out/evalalpha<==>+out/eval --
38diff old new
39--- old
40+++ new
41@@ -1,5 +1,5 @@
42 (struct){
43- xx: (int){ 1 }
44- yy: (int){ 2 }
45 zz: (int){ 3 }
46+ yy: (int){ 2 }
47+ xx: (int){ 1 }
48 }
49-- diff/todo/p3 --
50Reordering
51-- out/eval --
52(struct){
53 xx: (int){ 1 }
54 yy: (int){ 2 }
55 zz: (int){ 3 }
56}
57-- out/compile --
58--- foo.cue
59{
60 〈import;"mod.test/pkg:bar"〉
61 zz: 3
62}
View as plain text