github.com/solo-io/cue@v0.4.7/cue/testdata/choosedefault/001_simple_disambiguation_conflict.txtar (about) 1 # DO NOT EDIT; generated by go run testdata/gen.go 2 # 3 #name: simple disambiguation conflict 4 #evalFull 5 -- in.cue -- 6 a: *"a" | "b" 7 b: *"b" | "a" 8 c: a & b 9 -- out/def -- 10 a: *"a" | "b" 11 b: *"b" | "a" 12 c: a & b 13 -- out/legacy-debug -- 14 <0>{a: "a", b: "b", c: ("a" | "b")} 15 -- out/compile -- 16 --- in.cue 17 { 18 a: (*"a"|"b") 19 b: (*"b"|"a") 20 c: (ć0;ać & ć0;bć) 21 } 22 -- out/eval -- 23 (struct){ 24 a: (string){ |(*(string){ "a" }, (string){ "b" }) } 25 b: (string){ |(*(string){ "b" }, (string){ "a" }) } 26 c: (string){ |((string){ "a" }, (string){ "b" }) } 27 }