cuelang.org/go@v0.10.1/cue/testdata/choosedefault/001_simple_disambiguation_conflict.txtar (about)

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  #name: simple disambiguation conflict
     4  #evalFull
     5  -- in.cue --
     6  a: *"a" | "b"
     7  b: *"b" | "a"
     8  c: a & b
     9  -- out/def --
    10  a: *"a" | "b"
    11  b: *"b" | "a"
    12  c: a & b
    13  -- out/legacy-debug --
    14  <0>{a: "a", b: "b", c: ("a" | "b")}
    15  -- out/compile --
    16  --- in.cue
    17  {
    18    a: (*"a"|"b")
    19    b: (*"b"|"a")
    20    c: (怈0;a怉 & 怈0;b怉)
    21  }
    22  -- out/eval/stats --
    23  Leaks:  0
    24  Freed:  14
    25  Reused: 7
    26  Allocs: 7
    27  Retain: 0
    28  
    29  Unifications: 4
    30  Conjuncts:    17
    31  Disjuncts:    14
    32  -- out/eval --
    33  (struct){
    34    a: (string){ |(*(string){ "a" }, (string){ "b" }) }
    35    b: (string){ |(*(string){ "b" }, (string){ "a" }) }
    36    c: (string){ |((string){ "a" }, (string){ "b" }) }
    37  }