github.com/solo-io/cue@v0.4.7/cue/testdata/fulleval/018_recursive_evaluation_within_list.txtar (about)

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  #name: recursive evaluation within list
     4  #evalFull
     5  -- in.cue --
     6  l: [a]
     7  a: b & {c: "t"}
     8  b: {
     9  	d: c
    10  	c: string
    11  }
    12  l1: [a1]
    13  a1: b1 & {c: "t"}
    14  b1: {
    15  	d: "s" + c
    16  	c: string
    17  }
    18  -- out/def --
    19  l: [a]
    20  a: b & {
    21  	c: "t"
    22  }
    23  b: {
    24  	c: string
    25  	d: c
    26  }
    27  l1: [a1]
    28  a1: b1 & {
    29  	c: "t"
    30  }
    31  b1: {
    32  	c: string
    33  	d: "s" + c
    34  }
    35  -- out/legacy-debug --
    36  <0>{l: [<1>{c: "t", d: "t"}], a: <2>{c: "t", d: "t"}, b: <3>{c: string, d: string}, l1: [<4>{c: "t", d: "st"}], a1: <5>{c: "t", d: "st"}, b1: <6>{c: string, d: ("s" + <7>.c)}}
    37  -- out/compile --
    38  --- in.cue
    39  {
    40    l: [
    41      〈0;a〉,
    42    ]
    43    a: (〈0;b〉 & {
    44      c: "t"
    45    })
    46    b: {
    47      d: 〈0;c〉
    48      c: string
    49    }
    50    l1: [
    51      〈0;a1〉,
    52    ]
    53    a1: (〈0;b1〉 & {
    54      c: "t"
    55    })
    56    b1: {
    57      d: ("s" + 〈0;c〉)
    58      c: string
    59    }
    60  }
    61  -- out/eval --
    62  (struct){
    63    l: (#list){
    64      0: (struct){
    65        d: (string){ "t" }
    66        c: (string){ "t" }
    67      }
    68    }
    69    a: (struct){
    70      d: (string){ "t" }
    71      c: (string){ "t" }
    72    }
    73    b: (struct){
    74      d: (string){ string }
    75      c: (string){ string }
    76    }
    77    l1: (#list){
    78      0: (struct){
    79        d: (string){ "st" }
    80        c: (string){ "t" }
    81      }
    82    }
    83    a1: (struct){
    84      d: (string){ "st" }
    85      c: (string){ "t" }
    86    }
    87    b1: (struct){
    88      d: (_|_){
    89        // [incomplete] b1.d: non-concrete value string in operand to +:
    90        //     ./in.cue:10:5
    91        //     ./in.cue:11:2
    92      }
    93      c: (string){ string }
    94    }
    95  }