| # DO NOT EDIT; generated by go run testdata/gen.go |
| # |
| #name: simple disambiguation conflict |
| #evalFull |
| -- in.cue -- |
| a: *"a" | "b" |
| b: *"b" | "a" |
| c: a & b |
| -- out/def -- |
| a: *"a" | "b" |
| b: *"b" | "a" |
| c: a & b |
| -- out/legacy-debug -- |
| <0>{a: "a", b: "b", c: ("a" | "b")} |
| -- out/compile -- |
| --- in.cue |
| { |
| a: (*"a"|"b") |
| b: (*"b"|"a") |
| c: (〈0;a〉 & 〈0;b〉) |
| } |
| -- out/eval -- |
| (struct){ |
| a: (string){ |(*(string){ "a" }, (string){ "b" }) } |
| b: (string){ |(*(string){ "b" }, (string){ "a" }) } |
| c: (string){ |((string){ "a" }, (string){ "b" }) } |
| } |