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

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  #name: complex groundness  2
     4  #evalFull
     5  -- in.cue --
     6  r1: f1 & {y: "c"}
     7  
     8  f1: {y: string, res: a.b.c & {d: y}}
     9  
    10  a: b: c: {d: string, s: "a" + d}
    11  a: b: [C=string]: {d: string, s: "a" + d}
    12  a: b: c: d: string
    13  -- out/def --
    14  r1: f1 & {
    15  	y: "c"
    16  }
    17  f1: {
    18  	y:   string
    19  	res: a.b.c & {
    20  		d: y
    21  	}
    22  }
    23  a: {
    24  	b: {
    25  		{[C=string]: {
    26  			d: string, s: "a" + d
    27  		}}
    28  		c: {
    29  			d: string
    30  			s: "a"+d & "a"+d
    31  		}
    32  	}
    33  }
    34  -- out/legacy-debug --
    35  <0>{r1: <1>{y: "c", res: <2>{d: "c", s: "ac"}}, f1: <3>{y: string, res: <4>{d: string, s: (("a" + <5>.d) & ("a" + <5>.d))}}, a: <6>{b: <7>{[]: <8>(C: string)-><9>{d: string, s: ("a" + <9>.d)}, c: <10>{d: string, s: (("a" + <11>.d) & ("a" + <11>.d))}}}}
    36  -- out/compile --
    37  --- in.cue
    38  {
    39    r1: (〈0;f1〉 & {
    40      y: "c"
    41    })
    42    f1: {
    43      y: string
    44      res: (〈1;a〉.b.c & {
    45        d: 〈1;y〉
    46      })
    47    }
    48    a: {
    49      b: {
    50        c: {
    51          d: string
    52          s: ("a" + 〈0;d〉)
    53        }
    54      }
    55    }
    56    a: {
    57      b: {
    58        [string]: {
    59          d: string
    60          s: ("a" + 〈0;d〉)
    61        }
    62      }
    63    }
    64    a: {
    65      b: {
    66        c: {
    67          d: string
    68        }
    69      }
    70    }
    71  }
    72  -- out/eval --
    73  (struct){
    74    r1: (struct){
    75      y: (string){ "c" }
    76      res: (struct){
    77        d: (string){ "c" }
    78        s: (string){ "ac" }
    79      }
    80    }
    81    f1: (struct){
    82      y: (string){ string }
    83      res: (struct){
    84        d: (string){ string }
    85        s: (_|_){
    86          // [incomplete] f1.res.s: non-concrete value string in operand to +:
    87          //     ./in.cue:5:25
    88          //     ./in.cue:3:31
    89          //     ./in.cue:5:11
    90          //     ./in.cue:6:20
    91          //     ./in.cue:7:10
    92          // f1.res.s: non-concrete value string in operand to +:
    93          //     ./in.cue:6:34
    94          //     ./in.cue:3:31
    95          //     ./in.cue:5:11
    96          //     ./in.cue:6:20
    97          //     ./in.cue:7:10
    98        }
    99      }
   100    }
   101    a: (struct){
   102      b: (struct){
   103        c: (struct){
   104          d: (string){ string }
   105          s: (_|_){
   106            // [incomplete] a.b.c.s: non-concrete value string in operand to +:
   107            //     ./in.cue:5:25
   108            //     ./in.cue:5:11
   109            //     ./in.cue:6:20
   110            //     ./in.cue:7:10
   111            // a.b.c.s: non-concrete value string in operand to +:
   112            //     ./in.cue:6:34
   113            //     ./in.cue:5:11
   114            //     ./in.cue:6:20
   115            //     ./in.cue:7:10
   116          }
   117        }
   118      }
   119    }
   120  }