github.com/solo-io/cue@v0.4.7/cue/testdata/export/009.txtar (about)

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  -- in.cue --
     4  {
     5  	a: 5 * [int]
     6  	a: [1, 2, ...]
     7  	e: [...int]
     8  	e: [1, 2, ...]
     9  	f: [1, 2, ...]
    10  }
    11  -- out/def --
    12  a: [1, 2, int, int, int]
    13  b: <=5*[int] & [1, 2, ...]
    14  c: (>=3 & <=5)*[int] & [1, 2, ...]
    15  d: >=2*[int] & [1, 2, ...]
    16  e: [1, 2, ...int]
    17  f: [1, 2, ...]
    18  -- out/compile --
    19  --- in.cue
    20  {
    21    {
    22      a: (5 * [
    23        int,
    24      ])
    25      a: [
    26        1,
    27        2,
    28        ...,
    29      ]
    30      e: [
    31        ...int,
    32      ]
    33      e: [
    34        1,
    35        2,
    36        ...,
    37      ]
    38      f: [
    39        1,
    40        2,
    41        ...,
    42      ]
    43    }
    44  }
    45  -- out/eval --
    46  (struct){
    47    a: (#list){
    48      0: (int){ 1 }
    49      1: (int){ 2 }
    50      2: (int){ int }
    51      3: (int){ int }
    52      4: (int){ int }
    53    }
    54    e: (list){
    55      0: (int){ 1 }
    56      1: (int){ 2 }
    57    }
    58    f: (list){
    59      0: (int){ 1 }
    60      1: (int){ 2 }
    61    }
    62  }