github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/cue/testdata/compile/erralias.txtar (about) 1 -- in.cue -- 2 let X = {} 3 4 [Y="foo"]: 3 5 a: Y 6 7 "\(b)" :: 3 8 b: "foo" 9 10 c: {} 11 for x in c {a: E} 12 13 Z1=[Z2=string]: Z1 + Z2 14 -- out/compile -- 15 unreferenced alias or let clause X: 16 ./in.cue:1:2 17 a: reference "Y" not found: 18 ./in.cue:4:12 19 definitions not supported for interpolations: 20 ./in.cue:6:1 21 for[].a: reference "E" not found: 22 ./in.cue:10:16 23 --- in.cue 24 { 25 ["foo"]: 3 26 a: _|_(reference "Y" not found) 27 "\(〈0;b〉)": 3 28 b: "foo" 29 c: {} 30 for _, x in 〈0;c〉 { 31 a: _|_(reference "E" not found) 32 } 33 [string]: (〈0;(〈0;-〉)〉 + 〈0;-〉) 34 }