@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
284 B
Text
12 lines
284 B
Text
typeMismatch.lean:7:0-7:13: error: type mismatch
|
|
IO.println ""
|
|
has type
|
|
IO Unit : Type
|
|
but is expected to have type
|
|
IO Nat : Type
|
|
typeMismatch.lean:12:0-12:16: error: type mismatch
|
|
Meta.isDefEq x x
|
|
has type
|
|
MetaM Bool : Type
|
|
but is expected to have type
|
|
MetaM Unit : Type
|