lean4-htt/tests/lean/issue3232.lean.expected.out
Kyle Miller c7f5fd9a83
feat: make "type mismatch" error add numeric type ascriptions (#5919)
Example:
```lean
example : 0 = (0 : Nat) := by
  exact Eq.refl (0 : Int)
/-
error: type mismatch
  Eq.refl 0
has type
  (0 : Int) = 0 : Prop
but is expected to have type
  (0 : Nat) = 0 : Prop
-/
```
2024-11-01 16:44:52 +00:00

16 lines
357 B
Text

issue3232.lean:5:2-5:9: error: tactic 'apply' failed, failed to unify
@foo 42
with
@foo 23
h : foo
⊢ foo
issue3232.lean:8:2-8:29: error: tactic 'apply' failed, failed to unify
(1 : Int) = 1
with
(1 : Nat) = 1
⊢ 1 = 1
issue3232.lean:11:2-11:25: error: tactic 'apply' failed, failed to unify
PUnit = PUnit
with
PUnit = PUnit
⊢ PUnit = PUnit