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.
19 lines
355 B
Text
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 ()
|