blob: da3224fccbe1f1493dcd113c1046a5181fb4fa17 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: resolved self-reference cycles with disjunctions
#evalPartial
-- in.cue --
a: b & {x: 1} | {y: 1} // {x:1,y:3,z:2} | {y:1}
b: {x: 2} | c & {z: 2} // {x:2} | {x:1,y:3,z:2}
c: a & {y: 3} | {z: 3} // {x:1,y:3,z:2} | {z:3}
-- out/def --
a: b & {
x: 1
} | {
y: 1
}
b: {
x: 2
} | c & {
z: 2
}
c: a & {
y: 3
} | {
z: 3
}
-- out/legacy-debug --
<0>{a: (<1>{x: 1, y: 3, z: 2} | <2>{y: 1}), b: (<3>{x: 2} | <4>{x: 1, y: 3, z: 2}), c: (<5>{x: 1, y: 3, z: 2} | <6>{z: 3})}