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.
13 lines
185 B
Text
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 }
|