Debian Codegraph @

tools/trim/testdata/issue1087.txtar

raw
1 #Issue: 1087
2 -- in.cue --
3 configs: {
4 key: 123
5 }
6
7 shared: {
8 param: string
9 derived: configs[param]
10 }
11
12 a: shared & {
13 param: "key"
14 }
15 -- out/trim --
16 == in.cue
17 configs: {
18 key: 123
19 }
20
21 shared: {
22 param: string
23 derived: configs[param]
24 }
25
26 a: shared & {
27 param: "key"
28 }