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