blob: fd66f0a5beffa63c724f00999c1656d1391e61d1 [file] [log] [blame]
# DO NOT EDIT; generated by go run testdata/gen.go
#
#name: correct error messages
#evalPartial
-- in.cue --
a: "a" & 1
-- out/def --
a: _|_ // conflicting values "a" and 1 (mismatched types string and int)
-- out/legacy-debug --
<0>{a: _|_(("a" & 1):conflicting values "a" and 1 (mismatched types string and int))}
-- out/compile --
--- in.cue
{
a: ("a" & 1)
}
-- out/eval --
Errors:
a: invalid value 1 (mismatched types int and string)
Result:
(_|_){
// [eval]
a: (_|_){
// [eval] a: invalid value 1 (mismatched types int and string)
}
}