github.com/solo-io/cue@v0.4.7/cue/testdata/eval/errunifiy.txtar (about) 1 Incomplete errors should not unify with values. 2 3 -- in.cue -- 4 a: or([]) 5 a: "t" 6 7 b: _|_ 8 b: "t" 9 10 -- out/eval -- 11 Errors: 12 explicit error (_|_ literal) in source: 13 ./in.cue:4:4 14 15 Result: 16 (_|_){ 17 // [user] 18 a: (_|_){ 19 // [incomplete] empty list in call to or: 20 // ./in.cue:1:4 21 } 22 b: (_|_){ 23 // [user] explicit error (_|_ literal) in source: 24 // ./in.cue:4:4 25 } 26 } 27 -- out/compile -- 28 --- in.cue 29 { 30 a: or([]) 31 a: "t" 32 b: _|_(explicit error (_|_ literal) in source) 33 b: "t" 34 }