cuelang.org/go@v0.10.1/cue/testdata/export/015.txtar (about)

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  raw: true
     4  eval: true
     5  -- in.cue --
     6  {
     7  	a: (*1 | 2) & (1 | *2)
     8  	b: [(*1 | 2) & (1 | *2)]
     9  }
    10  -- out/def --
    11  a: 1 | 2 | *_|_
    12  b: [1 | 2 | *_|_]
    13  -- out/compile --
    14  --- in.cue
    15  {
    16    {
    17      a: ((*1|2) & (1|*2))
    18      b: [
    19        ((*1|2) & (1|*2)),
    20      ]
    21    }
    22  }
    23  -- out/eval/stats --
    24  Leaks:  0
    25  Freed:  16
    26  Reused: 9
    27  Allocs: 7
    28  Retain: 0
    29  
    30  Unifications: 4
    31  Conjuncts:    19
    32  Disjuncts:    16
    33  -- out/eval --
    34  (struct){
    35    a: (int){ |((int){ 1 }, (int){ 2 }) }
    36    b: (#list){
    37      0: (int){ |((int){ 1 }, (int){ 2 }) }
    38    }
    39  }