...
1#inlineImports: true
2-- cue.mod/module.cue --
3module: "example.com"
4-- x.cue --
5import "example.com/t"
6
7f: t.p
8-- t/t.cue --
9package t
10
11p: {
12 c: [int]
13 d: [c][0]
14 // TODO: simplify these:
15 e: {out: c}.out
16 f: {out: q}.out
17 g: {out: q}.out
18
19 h: {out: r: s: string}.out
20 i: h.r
21 j: h.r.s
22
23 k: r.k
24 l: r.k.l
25}
26
27q: {
28 x: [...int]
29}
30
31r: {out: k: l: string}.out
32
33-- out/default --
34import "example.com/t"
35
36f: t.p
37-- out/expand_imports --
38f: {
39 c: [int]
40 d: [c][0]
41 // TODO: simplify these:
42 e: {
43 out: c
44 }.out
45 f: {
46 out: Q
47 }.out
48 g: {
49 out: Q
50 }.out
51 h: {
52 out: {
53 r: {
54 s: string
55 }
56 }
57 }.out
58 i: h.r
59 j: h.r.s
60 k: K
61 l: K.l
62}
63
64//cue:path: "example.com/t".q
65let Q = {
66 x: [...int]
67}
68
69//cue:path: "example.com/t".r.k
70let K = {
71 l: string
72}
View as plain text