blob: bd2174a5f4b8d269d06fdc177ff76c5eb0d65271 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: non-structural direct cycles
#evalFull
-- in.cue --
c1: {bar: baz: 2} & c1.bar
c2: {bar: 1} & c2.bar
-- out/def --
c1: {
bar: {
baz: 2
}
} & c1.bar
c2: _|_ // conflicting values {bar: 1} and 1 (mismatched types struct and int)
-- out/legacy-debug --
<0>{c1: <1>{bar: <2>{baz: 2}, baz: 2}, c2: _|_(conflicting values {bar: 1} and 1 (mismatched types struct and int))}
-- out/compile --
--- in.cue
{
c1: ({
bar: {
baz: 2
}
} & 0;c1〉.bar)
c2: ({
bar: 1
} & 0;c2〉.bar)
}
-- out/eval --
(struct){
c1: (_|_){
// [incomplete] c1: undefined field bar:
// ./in.cue:1:24
bar: (struct){
baz: (int){ 2 }
}
}
c2: (_|_){
// [incomplete] c2: undefined field bar:
// ./in.cue:2:24
bar: (int){ 1 }
}
}