@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?
12 lines
293 B
Text
12 lines
293 B
Text
pureCoeIssue.lean:6:2-6:4: error: type mismatch
|
|
f1
|
|
has type
|
|
Nat → IO Unit : Type
|
|
but is expected to have type
|
|
EIO IO.Error PUnit : Type
|
|
pureCoeIssue.lean:14:2-14:7: error: type mismatch
|
|
f2 10
|
|
has type
|
|
Nat → IO Unit : Type
|
|
but is expected to have type
|
|
EIO IO.Error PUnit : Type
|