lean4-htt/tests/lean/doErrorMsg.lean.expected.out
Leonardo de Moura 5d3f0606d2 feat: include type of type in "mismatch errors"
@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?
2021-03-08 09:30:34 -08:00

30 lines
903 B
Text

doErrorMsg.lean:3:2-3:13: error: type mismatch
IO.getStdin
has type
EIO IO.Error IO.FS.Stream : Type
but is expected to have type
EIO IO.Error PUnit : Type
doErrorMsg.lean:15:19-15:21: error: type mismatch
f1
has type
ExceptT String (StateT Nat Id) Nat : Type
but is expected to have type
ExceptT String (StateT Nat Id) String : Type
doErrorMsg.lean:19:19-19:24: error: type mismatch
f2 10
has type
ExceptT String (StateT Nat Id) Nat : Type
but is expected to have type
ExceptT String (StateT Nat Id) String : Type
doErrorMsg.lean:24:2-24:4: error: type mismatch
f1
has type
ExceptT String (StateT Nat Id) Nat : Type
but is expected to have type
ExceptT String (StateT Nat Id) String : Type
doErrorMsg.lean:23:10-23:12: error: type mismatch
f2
has type
Nat → ExceptT String (StateT Nat Id) Nat : Type
but is expected to have type
ExceptT String (StateT Nat Id) ?m : Type