blob: 875d6e004d710187d21a9529a001c33821dfc725 [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: conflicting values "hey!?" and "hey":
./in.cue:2:5
./in.cue:5:7
Result:
(_|_){
// [eval]
a: (_|_){
// [eval]
x: (_|_){
// [eval] a.x: conflicting values "hey!?" and "hey":
// ./in.cue:2:5
// ./in.cue:5:7
}
y: (_|_){
// [eval] a.x: conflicting values "hey!?" and "hey":
// ./in.cue:2:5
// ./in.cue:5:7
}
}
}