blob: d8ac97d426e7d04f8df2cc01a1fa9d5062356812 [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:
invalid value *adt.Num (mismatched types int and string)
Result:
(_|_){
// [eval]
a: (_|_){
// [eval] invalid value *adt.Num (mismatched types int and string)
}
}