| # DO NOT EDIT; generated by go run testdata/gen.go |
| # |
| #name: booleans |
| #evalPartial |
| -- in.cue -- |
| t: true |
| t: !false |
| f: false |
| f: !t |
| e: true |
| e: !true |
| -- out/def -- |
| t: true |
| f: false |
| e: _|_ // conflicting values true and false |
| -- out/legacy-debug -- |
| <0>{t: true, f: false, e: _|_(true:conflicting values true and false)} |
| -- out/compile -- |
| --- in.cue |
| { |
| t: true |
| t: !false |
| f: false |
| f: !〈0;t〉 |
| e: true |
| e: !true |
| } |
| -- out/eval -- |
| Errors: |
| e: conflicting values false and true: |
| ./in.cue:5:4 |
| ./in.cue:6:4 |
| |
| Result: |
| (_|_){ |
| // [eval] |
| t: (bool){ true } |
| f: (bool){ false } |
| e: (_|_){ |
| // [eval] e: conflicting values false and true: |
| // ./in.cue:5:4 |
| // ./in.cue:6:4 |
| } |
| } |