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

     1  -- in.cue --
     2  import "struct"
     3  
     4  v: {a: struct.MaxFields(2) & {}}.a
     5  -- out/eval --
     6  (struct){
     7    v: (struct){
     8    }
     9  }
    10  -- out/compile --
    11  --- in.cue
    12  {
    13    v: {
    14      a: (〈import;struct〉.MaxFields(2) & {})
    15    }.a
    16  }