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.
23 lines
371 B
Text
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
|