github.com/joomcode/cue@v0.4.4-0.20221111115225-539fe3512047/cue/testdata/eval/issue295.txtar (about)

     1  -- in.cue --
     2  p: close({
     3  	"\("f")": _
     4  })
     5  p: 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 --
    17  (struct){
    18    p: (#struct){
    19      f: (int){ 9 }
    20    }
    21  }