Skip to content

Commit

Permalink
fix: proper deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
david-christiansen committed Sep 9, 2024
1 parent 18c2d27 commit 1a343a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Lean/Elab/Deriving/Basic.lean
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ end Term

def DerivingHandler := (typeNames : Array Name) → CommandElabM Bool

/-- Deprecated - `DerivingHandler` no longer assumes arguments -/
@[deprecated DerivingHandler (since := "2024-09-09")]
def DerivingHandlerNoArgs := (typeNames : Array Name) → CommandElabM Bool

builtin_initialize derivingHandlersRef : IO.Ref (NameMap (List DerivingHandler)) ← IO.mkRef {}

/-- A `DerivingHandler` is called on the fully qualified names of all types it is running for
Expand Down

0 comments on commit 1a343a6

Please sign in to comment.