1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
#name: errors
#evalPartial
-- in.cue --
a: _|_ & _|_
b: null & _|_
c: b.a == _|_
d: _|_ != b.a
e: _|_ == _|_
f: ({} & false) == _|_
g: _|_ != ({} & false)
-- out/def --
a: _|_ // explicit error (_|_ literal) in source
b: _|_ // explicit error (_|_ literal) in source
c: true
d: false
e: true
-- out/legacy-debug --
<0>{a: _|_(explicit error (_|_ literal) in source), b: _|_(explicit error (_|_ literal) in source), c: true, d: false, e: true}
-- out/compile --
--- in.cue
{
a: (_|_(explicit error (_|_ literal) in source) & _|_(explicit error (_|_ literal) in source))
b: (null & _|_(explicit error (_|_ literal) in source))
c: (ă0;bă.a == _|_(explicit error (_|_ literal) in source))
d: (_|_(explicit error (_|_ literal) in source) != ă0;bă.a)
e: (_|_(explicit error (_|_ literal) in source) == _|_(explicit error (_|_ literal) in source))
f: (({} & false) == _|_(explicit error (_|_ literal) in source))
g: (_|_(explicit error (_|_ literal) in source) != ({} & false))
}
-- out/eval/stats --
Leaks: 0
Freed: 10
Reused: 7
Allocs: 3
Retain: 0
Unifications: 10
Conjuncts: 14
Disjuncts: 10
-- out/eval --
Errors:
explicit error (_|_ literal) in source:
./in.cue:1:4
explicit error (_|_ literal) in source:
./in.cue:1:10
explicit error (_|_ literal) in source:
./in.cue:2:11
Result:
(_|_){
// [user]
a: (_|_){
// [user] explicit error (_|_ literal) in source:
// ./in.cue:1:4
// explicit error (_|_ literal) in source:
// ./in.cue:1:10
}
b: (_|_){
// [user] explicit error (_|_ literal) in source:
// ./in.cue:2:11
}
c: (bool){ true }
d: (bool){ false }
e: (bool){ true }
f: (bool){ true }
g: (bool){ false }
}
|