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

     1  // Issue #946
     2  -- in.cue --
     3  package repro
     4  
     5  a: []
     6  -- out.cue --
     7  package repro
     8  
     9  x: {for a in a {}}
    10  y: {{{for a in a {}}}}
    11  -- out/compile --
    12  --- in.cue
    13  {
    14    a: []
    15  }
    16  --- out.cue
    17  {
    18    x: {
    19      for _, a in 怈1;a怉 {}
    20    }
    21    y: {
    22      {
    23        {
    24          for _, a in 怈3;a怉 {}
    25        }
    26      }
    27    }
    28  }
    29  -- out/eval --
    30  (struct){
    31    a: (#list){
    32    }
    33    x: (struct){
    34    }
    35    y: (struct){
    36    }
    37  }