github.com/solo-io/cue@v0.4.7/cue/testdata/references/labelstop.txtar (about)

     1  TODO: add matching when bulk optional fields are allowed
     2  alongside other fields.
     3  -- in.cue --
     4  {[X=string]: baz: X}
     5  bar: {}
     6  -- out/eval --
     7  (struct){
     8    bar: (struct){
     9      baz: (string){ "bar" }
    10    }
    11  }
    12  -- out/compile --
    13  --- in.cue
    14  {
    15    {
    16      [string]: {
    17        baz: 〈1;-〉
    18      }
    19    }
    20    bar: {}
    21  }