...

Text file src/cuelang.org/go/cue/testdata/eval/issue295.txtar

Documentation: cuelang.org/go/cue/testdata/eval

     1-- in.cue --
     2p: close({
     3	"\("f")": _
     4})
     5p: f: 9
     6-- out/compile --
     7--- in.cue
     8{
     9  p: close({
    10    "\("f")": _
    11  })
    12  p: {
    13    f: 9
    14  }
    15}
    16-- out/eval/stats --
    17Leaks:  1
    18Freed:  3
    19Reused: 0
    20Allocs: 4
    21Retain: 1
    22
    23Unifications: 4
    24Conjuncts:    7
    25Disjuncts:    4
    26-- out/eval --
    27(struct){
    28  p: (#struct){
    29    f: (int){ 9 }
    30  }
    31}

View as plain text