lean4-htt/tests/lean/run/missingDocsTacticAlt.lean
Sebastian Graf 02f482129a
fix: Use @[tactic_alt] for bv_decide, mvcgen and similar tactics (#10506)
This PR annotates the shadowing main definitions of `bv_decide`,
`mvcgen` and similar tactics in `Std` with the semantically richer
`tactic_alt` attribute so that `verso` will not warn about overloads.

This fixes leanprover/verso#535.
2025-09-23 07:40:02 +00:00

19 lines
355 B
Text

module
public import Lean
set_option linter.missingDocs true
/-- Docstring -/
syntax (name := test) "test" : tactic
#guard_msgs (warning) in
@[tactic_alt test]
syntax "test1" : tactic
#guard_msgs (warning) in
@[tactic_alt test]
macro "test2" : tactic => `(tactic| test1)
#guard_msgs (warning) in
@[tactic_alt test]
elab "test2" : tactic => return ()