...
1-- cue.mod/module.cue --
2module: "mod.test"
3-- a.cue --
4package a
5
6import "mod.test/b"
7
8theb: b.name
9-- b/b.cue --
10package b
11
12import "mod.test/c"
13
14b: c.c & {
15 other: "name"
16}
17
18name: b.other
19-- c/c.cue --
20package c
21-- out/compile --
22--- a.cue
23{
24 theb: 〈import;"mod.test/b"〉.name
25}
26-- out/eval/stats --
27Leaks: 4
28Freed: 2
29Reused: 0
30Allocs: 6
31Retain: 24
32
33Unifications: 6
34Conjuncts: 27
35Disjuncts: 11
36-- out/eval --
37(struct){
38 theb: (_|_){
39 // [incomplete] b: undefined field: c:
40 // ./b/b.cue:5:6
41 }
42}
View as plain text