cuelang.org/go@v0.10.1/cue/testdata/basicrewrite/004_booleans.txtar (about)

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