lean4-htt/tests/lean/run/compiler_proj_bug.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

13 lines
185 B
Text

structure S :=
(a : Nat) (h : a > 0) (b : Nat)
def f (s : S) :=
s.b - s.a
/--
info: 25
---
warning: declaration uses `sorry`
-/
#guard_msgs in
#eval! f {a := 5, b := 30, h := sorry }