lean4-htt/tests/lean/run/4547.lean
Leonardo de Moura 2652cc18b8
chore: error messages consistency (#10143)
This PR standardizes error messages by quoting names with backticks. The
changes were automated, so some cases may still be missing.
2025-08-26 17:55:43 +00:00

15 lines
323 B
Text

/-- error: `f.go` has already been declared -/
#guard_msgs in
def f (x : Nat) : Nat :=
go x
where
go (x : Nat) : Nat := x
go (x : Nat) : Nat := x + 1
/-- error: `g.go` has already been declared -/
#guard_msgs in
def g (x : Nat) : Nat :=
go x
where
go (x : Nat) : Nat := x
go (x : Nat) (y : Nat) : Nat := x + 1