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

     1  # DO NOT EDIT; generated by go run testdata/gen.go
     2  #
     3  raw: true
     4  eval: true
     5  -- in.cue --
     6  {
     7  	#FindInMap: {
     8  		#: "Fn::FindInMap": [string | #FindInMap]
     9  	}
    10  	a: [...string]
    11  }
    12  -- out/def --
    13  #FindInMap: {
    14  	#: {
    15  		"Fn::FindInMap": [string | #FindInMap]
    16  	}
    17  }
    18  a: [...string]
    19  -- out/export --
    20  a: []
    21  -- out/yaml --
    22  a: []
    23  -- out/json --
    24  {"a":[]}
    25  -- out/compile --
    26  --- in.cue
    27  {
    28    {
    29      #FindInMap: {
    30        #: {
    31          "Fn::FindInMap": [
    32            (string|〈2;#FindInMap〉),
    33          ]
    34        }
    35      }
    36      a: [
    37        ...string,
    38      ]
    39    }
    40  }
    41  -- out/eval --
    42  (struct){
    43    #FindInMap: (#struct){
    44      #: (#struct){
    45        "Fn::FindInMap": (#list){
    46          0: (string){ string }
    47        }
    48      }
    49    }
    50    a: (list){
    51    }
    52  }