Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ deprecated_module (since := "2025-04-10")
/--
info: Deprecated modules

'MathlibTest.DeprecatedModule' deprecates to
'MathlibTest.Linter.DeprecatedModule.DeprecatedModule' deprecates to
#[Mathlib.Tactic.Linter.DocPrime, Mathlib.Tactic.Linter.DocString]
with no message
-/
Expand All @@ -20,11 +20,11 @@ deprecated_module "We can also give more details about the deprecation" (since :
/--
info: Deprecated modules

'MathlibTest.DeprecatedModule' deprecates to
'MathlibTest.Linter.DeprecatedModule.DeprecatedModule' deprecates to
#[Mathlib.Tactic.Linter.DocPrime, Mathlib.Tactic.Linter.DocString]
with message 'We can also give more details about the deprecation'

'MathlibTest.DeprecatedModule' deprecates to
'MathlibTest.Linter.DeprecatedModule.DeprecatedModule' deprecates to
#[Mathlib.Tactic.Linter.DocPrime, Mathlib.Tactic.Linter.DocString]
with no message
-/
Expand All @@ -42,11 +42,11 @@ deprecated_module "Text" (since := "2025-02-31")
/--
info: Deprecated modules

'MathlibTest.DeprecatedModule' deprecates to
'MathlibTest.Linter.DeprecatedModule.DeprecatedModule' deprecates to
#[Mathlib.Tactic.Linter.DocPrime, Mathlib.Tactic.Linter.DocString]
with message 'We can also give more details about the deprecation'

'MathlibTest.DeprecatedModule' deprecates to
'MathlibTest.Linter.DeprecatedModule.DeprecatedModule' deprecates to
#[Mathlib.Tactic.Linter.DocPrime, Mathlib.Tactic.Linter.DocString]
with no message
-/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module

import all MathlibTest.DeprecatedModuleNew
import all MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew

/--
warning: Testing public import deprecation
'MathlibTest.DeprecatedModuleNew' has been deprecated: please replace this import by
'MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew' has been deprecated: please replace this import by
import Mathlib.Tactic.Linter.DocPrime
import Mathlib.Tactic.Linter.DocString
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module

meta import MathlibTest.DeprecatedModuleNew
meta import MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew

/--
warning: Testing public import deprecation
'MathlibTest.DeprecatedModuleNew' has been deprecated: please replace this import by
'MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew' has been deprecated: please replace this import by
import Mathlib.Tactic.Linter.DocPrime
import Mathlib.Tactic.Linter.DocString
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module

public meta import MathlibTest.DeprecatedModuleNew
public meta import MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew

/--
warning: Testing public import deprecation
'MathlibTest.DeprecatedModuleNew' has been deprecated: please replace this import by
'MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew' has been deprecated: please replace this import by
import Mathlib.Tactic.Linter.DocPrime
import Mathlib.Tactic.Linter.DocString
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module

public import MathlibTest.DeprecatedModuleNew
public import MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew

/--
warning: Testing public import deprecation
'MathlibTest.DeprecatedModuleNew' has been deprecated: please replace this import by
'MathlibTest.Linter.DeprecatedModule.DeprecatedModuleNew' has been deprecated: please replace this import by
import Mathlib.Tactic.Linter.DocPrime
import Mathlib.Tactic.Linter.DocString
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import MathlibTest.DeprecatedModule
import MathlibTest.Linter.DeprecatedModule.DeprecatedModule

/--
warning: We can also give more details about the deprecation
'MathlibTest.DeprecatedModule' has been deprecated: please replace this import by
'MathlibTest.Linter.DeprecatedModule.DeprecatedModule' has been deprecated: please replace this import by

import Mathlib.Tactic.Linter.DocPrime
import Mathlib.Tactic.Linter.DocString
Expand All @@ -11,7 +11,7 @@ import Mathlib.Tactic.Linter.DocString
Note: This linter can be disabled with `set_option linter.deprecated.module false`
---
warning:
'MathlibTest.DeprecatedModule' has been deprecated: please replace this import by
'MathlibTest.Linter.DeprecatedModule.DeprecatedModule' has been deprecated: please replace this import by

import Mathlib.Tactic.Linter.DocPrime
import Mathlib.Tactic.Linter.DocString
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ local notation3 "MyList[" (x", "* => foldr (a b => List.cons a b) List.nil) "]"
/- Check that we have indeed created declarations, and aren't not linting just due to being an
empty file: -/
/--
info: [_private.MathlibTest.PrivateModuleLinter.notation3.0.«_aux_MathlibTest_PrivateModuleLinter_notation3___delab_app__private_MathlibTest_PrivateModuleLinter_notation3_0_termMyList[_,]_2»,
_private.MathlibTest.PrivateModuleLinter.notation3.0.«termMyList[_,]»,
_private.MathlibTest.PrivateModuleLinter.notation3.0.«_aux_MathlibTest_PrivateModuleLinter_notation3___delab_app__private_MathlibTest_PrivateModuleLinter_notation3_0_termMyList[_,]_1»,
_private.MathlibTest.PrivateModuleLinter.notation3.0.«_aux_MathlibTest_PrivateModuleLinter_notation3___macroRules__private_MathlibTest_PrivateModuleLinter_notation3_0_termMyList[_,]_1»]
info: [_private.MathlibTest.Linter.PrivateModuleLinter.Notation3.0.«_aux_MathlibTest_Linter_PrivateModuleLinter_Notation3___delab_app__private_MathlibTest_Linter_PrivateModuleLinter_Notation3_0_termMyList[_,]_2»,
_private.MathlibTest.Linter.PrivateModuleLinter.Notation3.0.«termMyList[_,]»,
_private.MathlibTest.Linter.PrivateModuleLinter.Notation3.0.«_aux_MathlibTest_Linter_PrivateModuleLinter_Notation3___macroRules__private_MathlibTest_Linter_PrivateModuleLinter_Notation3_0_termMyList[_,]_1»,
_private.MathlibTest.Linter.PrivateModuleLinter.Notation3.0.«_aux_MathlibTest_Linter_PrivateModuleLinter_Notation3___delab_app__private_MathlibTest_Linter_PrivateModuleLinter_Notation3_0_termMyList[_,]_1»]
-/
#guard_msgs in
run_cmd do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module

import Mathlib.Init
import all Mathlib.Tactic.Linter.PrivateModule
public import MathlibTest.PrivateModuleLinter.reservedName1
public import MathlibTest.Linter.PrivateModuleLinter.ReservedName1

open Lean

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Authors: Kim Morrison
import Lean.Meta.Tactic.SolveByElim
import Mathlib.Tactic.Constructor
import Batteries.Tactic.PermuteGoals
import MathlibTest.solve_by_elim.dummy_label_attr
import MathlibTest.Tactic.SolveByElim.DummyLabelAttr


example (h : Nat) : Nat := by solve_by_elim
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading