cuelang.org/go@v0.10.1/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/stats --
    30  Leaks:  0
    31  Freed:  4
    32  Reused: 2
    33  Allocs: 2
    34  Retain: 0
    35  
    36  Unifications: 4
    37  Conjuncts:    7
    38  Disjuncts:    4
    39  -- out/eval --
    40  (struct){
    41    a: (#list){
    42    }
    43    x: (struct){
    44    }
    45    y: (struct){
    46    }
    47  }