cuelang.org/go@v0.13.0/tools/trim/testdata/31.txtar (about)

     1  Make sure we don't remove conjuncts that discriminate between
     2  disjunction branches.
     3  
     4  issue 2544
     5  
     6  -- a.cue --
     7  #A: value?: {x: number, y: number} | *{x: 0, y: 0} | 5
     8  a: #A & {value: {}}
     9  -- out/trim --
    10  == a.cue
    11  #A: value?: {x: number, y: number} | *{x: 0, y: 0} | 5
    12  a: #A & {value: {}}