blob: 7f053754074c660f2f43eb4a5e4f97f0f1998385 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: list unification
#evalPartial
-- in.cue --
a: {l: ["foo", v], v: l[1]}
b: a & {l: [_, "bar"]}
-- out/def --
a: {
l: ["foo", v]
v: l[1]
}
b: a & {
l: [_, "bar"]
}
-- out/legacy-debug --
<0>{a: <1>{l: ["foo",<2>.v], v: <2>.l[1]}, b: <3>{l: ["foo","bar"], v: "bar"}}
-- out/compile --
--- in.cue
{
a: {
l: [
"foo",
0;v〉,
]
v: 0;l〉[1]
}
b: (〈0;a & {
l: [
_,
"bar",
]
})
}