@Kha we do that in Lean 3. It helps when the error is due to incorrect universe levels. BTW, I had to update `tests/lean/server/content_diag.json` since the error message is different, but a few other stuff changed too. Could you please take a look whether the test is still correct?
20 lines
463 B
Text
20 lines
463 B
Text
doIssue.lean:2:2-2:3: error: type mismatch
|
|
x
|
|
has type
|
|
Nat : Type
|
|
but is expected to have type
|
|
EIO IO.Error PUnit : Type
|
|
doIssue.lean:10:2-10:13: error: type mismatch
|
|
Array.set! xs 0 1
|
|
has type
|
|
Array Nat : Type
|
|
but is expected to have type
|
|
EIO IO.Error PUnit : Type
|
|
doIssue.lean:18:2-18:20: error: application type mismatch
|
|
pure (Array.set! xs 0 1)
|
|
argument
|
|
Array.set! xs 0 1
|
|
has type
|
|
Array Nat : Type
|
|
but is expected to have type
|
|
PUnit : Type
|