Skip to content

Commit

Permalink
Merge main into nightly-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
leanprover-community-mathlib4-bot committed May 16, 2024
2 parents 03ef87c + 674dd31 commit 3b79856
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/lint_unreachableTactic.lean
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import Batteries.Linter.UnreachableTactic

-- The warning generated by `linter.unreachableTactic` is not suppressed by `#guard_msgs`,
-- because the linter is run on `#guard_msgs` itself. This is a known issue, see
-- https://leanprover.zulipchat.com/#narrow/stream/348111-batteries/topic/unreachableTactic.20linter.20not.20suppressed.20by.20.60.23guard_msgs.60
-- We jump through an extra hoop here to silence the warning.
set_option linter.unreachableTactic false in
#guard_msgs(drop warning) in
set_option linter.unreachableTactic true in
/--
warning: this tactic is never executed
note: this linter can be disabled with `set_option linter.unreachableTactic false`
Expand Down

0 comments on commit 3b79856

Please sign in to comment.