#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/stats --
Leaks:  0
Freed:  2
Reused: 0
Allocs: 2
Retain: 0

Unifications: 2
Conjuncts:    3
Disjuncts:    2
-- 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
  }
}
