cuelang.org/go@v0.13.0/cue/testdata/basicrewrite/004_booleans.txtar (about) 1 #name: booleans 2 #evalPartial 3 -- in.cue -- 4 t: true 5 t: !false 6 f: false 7 f: !t 8 e: true 9 e: !true 10 -- out/def -- 11 t: true 12 f: false 13 e: _|_ // conflicting values true and false 14 -- out/legacy-debug -- 15 <0>{t: true, f: false, e: _|_(true:conflicting values true and false)} 16 -- out/compile -- 17 --- in.cue 18 { 19 t: true 20 t: !false 21 f: false 22 f: !〈0;t〉 23 e: true 24 e: !true 25 } 26 -- out/eval/stats -- 27 Leaks: 0 28 Freed: 4 29 Reused: 2 30 Allocs: 2 31 Retain: 0 32 33 Unifications: 4 34 Conjuncts: 7 35 Disjuncts: 4 36 -- out/eval -- 37 Errors: 38 e: conflicting values false and true: 39 ./in.cue:5:4 40 ./in.cue:6:4 41 42 Result: 43 (_|_){ 44 // [eval] 45 t: (bool){ true } 46 f: (bool){ false } 47 e: (_|_){ 48 // [eval] e: conflicting values false and true: 49 // ./in.cue:5:4 50 // ./in.cue:6:4 51 } 52 }