lean4-htt/tests/pkg/builtin_attr/UserAttr/Tst.lean
jrr6 62f14514da
refactor: update built-in tactic error messages (#9633)
This PR updates various error messages produced by or associated with
built-in tactics and adapts their formatting to current conventions.
2025-07-31 14:16:57 +00:00

19 lines
303 B
Text

import UserAttr.BlaAttr
@[bar] def f (x : Nat) := x + 2
@[bar] def g (x : Nat) := x + 1
attribute [local irreducible] myFun
set_option pp.mvars false
/--
error: Type mismatch
rfl
has type
?_ = ?_
but is expected to have type
myFun x = x + 1
-/
#guard_msgs in
example : myFun x = x + 1 :=
rfl