| # DO NOT EDIT; generated by go run testdata/gen.go |
| # |
| #name: errors |
| #evalPartial |
| -- in.cue -- |
| a: _|_ & _|_ |
| b: null & _|_ |
| c: b.a == _|_ |
| d: _|_ != b.a |
| e: _|_ == _|_ |
| -- out/def -- |
| a: _|_ // from source |
| b: _|_ // from source |
| c: true |
| d: false |
| e: true |
| -- out/legacy-debug -- |
| <0>{a: _|_(from source), b: _|_(from source), c: true, d: false, e: true} |
| -- out/compile -- |
| --- in.cue |
| { |
| a: (_|_(from source) & _|_(from source)) |
| b: (null & _|_(from source)) |
| c: (〈0;b〉.a == _|_(from source)) |
| d: (_|_(from source) != 〈0;b〉.a) |
| e: (_|_(from source) == _|_(from source)) |
| } |
| -- out/eval -- |
| Errors: |
| from source: |
| ./in.cue:1:4 |
| from source: |
| ./in.cue:2:11 |
| |
| Result: |
| (_|_){ |
| // [user] |
| a: (_|_){ |
| // [user] from source: |
| // ./in.cue:1:4 |
| } |
| b: (_|_){ |
| // [user] from source: |
| // ./in.cue:2:11 |
| } |
| c: (bool){ true } |
| d: (bool){ false } |
| e: (bool){ true } |
| } |