@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?
36 lines
891 B
Text
36 lines
891 B
Text
shadow.lean:6:0-6:1: error: type mismatch
|
||
h
|
||
has type
|
||
x✝ = x✝ : Prop
|
||
but is expected to have type
|
||
x = x : Prop
|
||
shadow.lean:10:0-10:1: error: type mismatch
|
||
h
|
||
has type
|
||
x = x : Prop
|
||
but is expected to have type
|
||
x = x : Prop
|
||
shadow.lean:13:0-13:1: error: don't know how to synthesize placeholder
|
||
context:
|
||
α : Type u_1
|
||
inst✝¹ : Inhabited α
|
||
inst✝ inst : α
|
||
β✝ δ✝ : Type
|
||
⊢ α → β✝ → δ✝ → α × β✝ × δ✝
|
||
shadow.lean:17:0-17:1: error: don't know how to synthesize placeholder
|
||
context:
|
||
α : Type u_1
|
||
inst.68 : Inhabited α
|
||
inst inst : α
|
||
β.93 δ.94 : Type
|
||
⊢ α → β.93 → δ.94 → α × β.93 × δ.94
|
||
shadow.lean:20:0-20:1: error: don't know how to synthesize placeholder
|
||
context:
|
||
α : Type u_1
|
||
β : Sort u_2
|
||
inst✝² : α
|
||
inst✝¹ b : β
|
||
inst : α
|
||
inst✝ : Inhabited α
|
||
β✝ δ✝ : Type
|
||
⊢ α → β✝ → δ✝ → α × β✝ × δ✝
|