blob: 42cb2415c19336da3a5f4c722835e1ce219a6795 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: self-reference cycles conflicts with strings
#evalPartial
-- in.cue --
a: {
x: y + "?"
y: x + "!"
}
a: x: "hey"
-- out/def --
a: {
x: _|_ // conflicting values "hey!?" and "hey"
y: "hey!"
}
-- out/legacy-debug --
<0>{a: <1>{x: _|_(("hey!?" & "hey"):conflicting values "hey!?" and "hey"), y: "hey!"}}
-- out/compile --
--- in.cue
{
a: {
x: (〈0;y + "?")
y: (〈0;x + "!")
}
a: {
x: "hey"
}
}
-- out/eval --
Errors:
a.x: incompatible values "hey!?" and "hey"
Result:
(_|_){
// [eval]
a: (_|_){
// [eval]
x: (_|_){
// [eval] a.x: incompatible values "hey!?" and "hey"
}
y: (_|_){
// [eval] a.x: incompatible values "hey!?" and "hey"
}
}
}