Skip to content

Commit 43a9b84

Browse files
1 parent 8883ace commit 43a9b84

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

Mathlib/Init.lean

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module -- shake: keep-all, shake: keep-downstream
33
public import Lean.Linter.Sets -- for the definition of linter sets
44
public import Lean.LibrarySuggestions.Default -- for `+suggestions` modes in tactics
55
public import Mathlib.Lean.Linter -- linter utilities; will be transitively imported in #31134
6+
public import Mathlib.Tactic.AdaptationNote -- make #adaptation_note available everywhere
67
public import Mathlib.Tactic.Lemma
78
public import Mathlib.Tactic.Linter.DeprecatedSyntaxLinter
89
public import Mathlib.Tactic.Linter.DirectoryDependency

Mathlib/Logic/Basic.lean

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ Authors: Jeremy Avigad, Leonardo de Moura
55
-/
66
module
77

8-
public import Mathlib.Tactic.AdaptationNote
98
public import Batteries.Logic
109
public import Batteries.Util.LibraryNote
1110

12-
import Mathlib.Tactic.Attr.Register
11+
public import Mathlib.Tactic.Attr.Register
1312

1413
/-!
1514
# Basic logic properties

Mathlib/Tactic/AdaptationNote.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Authors: Kyle Miller
55
-/
66
module
77

8-
public import Mathlib.Init
8+
import Mathlib.Tactic.Linter.Header
99
public meta import Lean.Meta.Tactic.TryThis
1010

1111
/-!

MathlibTest/BasicFiles/Init.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ run_elab Lean.logInfo m!"{(← Lean.MonadEnv.getEnv).imports}"
4040
theorem test_type_star (α : Type*) : α = α := rfl
4141

4242
lemma test_lemma : True := trivial
43+
44+
#adaptation_note /-- This ensures that adaptation_note is available. -/

0 commit comments

Comments
 (0)