lean4-htt/tests/lean/run/missingDocsTacticAlt.lean
Sebastian Graf 795d13ddce
feat: account for tactic_alt in missing docs linter (#10507)
This PR makes the missing docs linter aware of `tactic_alt`.
2025-09-22 16:23:24 +00:00

16 lines
280 B
Text

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