...

Text file src/cuelang.org/go/cue/testdata/compile/files.txtar

Documentation: cuelang.org/go/cue/testdata/compile

     1// Issue #946
     2-- in.cue --
     3package repro
     4
     5a: []
     6-- out.cue --
     7package repro
     8
     9x: {for a in a {}}
    10y: {{{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 --
    30Leaks:  0
    31Freed:  4
    32Reused: 2
    33Allocs: 2
    34Retain: 0
    35
    36Unifications: 4
    37Conjuncts:    7
    38Disjuncts:    4
    39-- out/eval --
    40(struct){
    41  a: (#list){
    42  }
    43  x: (struct){
    44  }
    45  y: (struct){
    46  }
    47}

View as plain text