@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?
13 lines
488 B
Text
13 lines
488 B
Text
typeOf.lean:11:21-11:24: error: failed to synthesize instance
|
|
HAdd Nat Nat Bool
|
|
typeOf.lean:12:0-12:5: error: failed to synthesize instance
|
|
HAdd Bool Nat Nat
|
|
typeOf.lean:10:4-10:6: error: (kernel) declaration has metavariables 'f2'
|
|
typeOf.lean:20:54-20:60: error: invalid reassignment, term has type
|
|
Bool : Type
|
|
but is expected to have type
|
|
Nat : Type
|
|
typeOf.lean:29:53-29:57: error: natural number expected, value has type
|
|
Bool : Type
|
|
but is expected to have type
|
|
Nat : Type
|