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 -/ ```
16 lines
357 B
Text
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
|