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

17 lines
261 B
Text

/--
error: unsolved goals
A : Nat
⊢ Sort ?u.3
-/
#guard_msgs in
variable (A : Nat) (B : by skip)
/-- error: Failed to infer type of definition `foo` -/
#guard_msgs in
def foo :=
A = B
/-- warning: declaration uses `sorry` -/
#guard_msgs in
def boo :=
B