| # DO NOT EDIT; generated by go run testdata/gen.go |
| # |
| raw: true |
| eval: true |
| -- in.cue -- |
| { |
| #FindInMap: { |
| #: "Fn::FindInMap": [string | #FindInMap] |
| } |
| a: [...string] |
| } |
| -- out/def -- |
| #FindInMap: { |
| #: { |
| "Fn::FindInMap": [string | #FindInMap] |
| } |
| } |
| a: [...string] |
| -- out/export -- |
| a: [] |
| -- out/yaml -- |
| a: [] |
| -- out/json -- |
| {"a":[]} |
| -- out/compile -- |
| --- in.cue |
| { |
| { |
| #FindInMap: { |
| #: { |
| "Fn::FindInMap": [ |
| (string|〈2;#FindInMap〉), |
| ] |
| } |
| } |
| a: [ |
| ...string, |
| ] |
| } |
| } |
| -- out/eval -- |
| (struct){ |
| #FindInMap: (#struct){ |
| #: (#struct){ |
| "Fn::FindInMap": (#list){ |
| 0: (string){ string } |
| } |
| } |
| } |
| a: (list){ |
| } |
| } |