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

     1  As with 21, make sure we don't do simplification of arguments to
     2  function calls - we've not just special-cased "close".
     3  
     4  -- a.cue --
     5  let x = close
     6  y: x({a: 5})
     7  z: y & {a: int}
     8  -- out/trim-v3 --
     9  == a.cue
    10  let x = close
    11  y: x({a: 5})
    12  z: y & _
    13  -- diff/-out/trim-v3<==>+out/trim --
    14  diff old new
    15  --- old
    16  +++ new
    17  @@ -1,4 +1,4 @@
    18   == a.cue
    19   let x = close
    20   y: x({a: 5})
    21  -z: y & {a: int}
    22  +z: y & _
    23  -- out/trim-v3-noshare --
    24  == a.cue
    25  let x = close
    26  y: x({a: 5})
    27  z: y & _
    28  -- diff/-out/trim-v3-noshare<==>+out/trim --
    29  diff old new
    30  --- old
    31  +++ new
    32  @@ -1,4 +1,4 @@
    33   == a.cue
    34   let x = close
    35   y: x({a: 5})
    36  -z: y & {a: int}
    37  +z: y & _
    38  -- out/trim --
    39  == a.cue
    40  let x = close
    41  y: x({a: 5})
    42  z: y & {a: int}