lean4-htt/tests/lean/run/3519.lean
Alok Singh 949cf69246
chore: use backticks for sorry in diagnostic messages (#11608)
This PR changes the "declaration uses 'sorry'" warning to use backticks
instead of single quotes, consistent with Lean's conventions for
formatting code identifiers in diagnostic messages.
2025-12-15 14:30:21 +00:00

23 lines
371 B
Text

/--
info: Try this:
[apply] simp only [x]
---
warning: declaration uses `sorry`
-/
#guard_msgs in
example {P : Nat → Prop} : let x := 0; P x := by
intro x
simp? [x]
sorry
/--
info: Try this:
[apply] simp_all only [x]
---
warning: declaration uses `sorry`
-/
#guard_msgs in
example {P : Nat → Prop} : let x := 0; P x := by
intro x
simp_all? [x]
sorry