tools/trim/testdata/21.txtar
raw| 1 | We do no simplification of arguments to function calls. This includes |
| 2 | close, which appears in the AST as a normal CallExpr. |
| 3 | |
| 4 | -- a.cue -- |
| 5 | y: close({a: int, b: {c: string}}) & {a: 4, b: {c: "hi"}} |
| 6 | z: close({a: int, b: {c: string}} & {a: 4, b: {c: "hi"}}) |
| 7 | -- out/trim -- |
| 8 | == a.cue |
| 9 | y: close({a: int, b: {c: string}}) & {a: 4, b: {c: "hi"}} |
| 10 | z: close({a: int, b: {c: string}} & {a: 4, b: {c: "hi"}}) |