blob: d013d4222fd1accbc857a0c1de5352964fd1de71 [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: conflicting values "a" and 1 (mismatched types string and int):
./in.cue:1:4
./in.cue:1:10
Result:
(_|_){
// [eval]
a: (_|_){
// [eval] a: conflicting values "a" and 1 (mismatched types string and int):
// ./in.cue:1:4
// ./in.cue:1:10
}
}