...
1# DO NOT EDIT; generated by go run testdata/gen.go
2#
3#name: null
4#evalPartial
5-- in.cue --
6eql: null == null
7neq: null != null
8unf: null & null
9
10// errors
11eq1: null == 1
12eq2: 1 == null
13ne1: "s" != null
14call: null()
15-- out/def --
16eql: true
17neq: false
18unf: null
19
20// errors
21eq1: false
22eq2: false
23ne1: true
24call: _|_ // cannot call non-function null (type null)
25-- out/legacy-debug --
26<0>{eql: true, neq: false, unf: null, eq1: false, eq2: false, ne1: true, call: _|_(null:cannot call non-function null (type null))}
27-- out/compile --
28--- in.cue
29{
30 eql: (null == null)
31 neq: (null != null)
32 unf: (null & null)
33 eq1: (null == 1)
34 eq2: (1 == null)
35 ne1: ("s" != null)
36 call: null()
37}
38-- out/eval/stats --
39Leaks: 0
40Freed: 8
41Reused: 6
42Allocs: 2
43Retain: 0
44
45Unifications: 8
46Conjuncts: 9
47Disjuncts: 8
48-- out/eval --
49Errors:
50call: cannot call non-function null (type null):
51 ./in.cue:9:7
52
53Result:
54(_|_){
55 // [eval]
56 eql: (bool){ true }
57 neq: (bool){ false }
58 unf: (null){ null }
59 eq1: (bool){ false }
60 eq2: (bool){ false }
61 ne1: (bool){ true }
62 call: (_|_){
63 // [eval] call: cannot call non-function null (type null):
64 // ./in.cue:9:7
65 }
66}
View as plain text