github.com/solo-io/cue@v0.4.7/cue/testdata/references/optional.txtar (about) 1 -- in.cue -- 2 a: { 3 foo?: int 4 5 b: foo 6 } 7 -- out/compile -- 8 --- in.cue 9 { 10 a: { 11 foo?: int 12 b: 〈0;foo〉 13 } 14 } 15 -- out/eval -- 16 (struct){ 17 a: (struct){ 18 b: (_|_){ 19 // [incomplete] a.b: cannot reference optional field: foo: 20 // ./in.cue:4:8 21 } 22 } 23 }