Skip to content

Commit

Permalink
chore: fix two deprecations (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
kim-em authored Nov 23, 2024
1 parent 8b52587 commit 0dc51ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Batteries/Lean/Expr.lean
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ def toSyntax (e : Expr) : TermElabM Syntax.Term := withFreshMacroScope do
mvar.mvarId!.assign e
pure stx

@[deprecated (since := "2024-10-16"), inherit_doc getNumHeadLambdas]
@[deprecated getNumHeadLambdas (since := "2024-10-16"), inherit_doc getNumHeadLambdas]
abbrev lambdaArity := @getNumHeadLambdas

@[deprecated (since := "2024-11-13"), inherit_doc getNumHeadForalls]
@[deprecated getNumHeadForalls(since := "2024-11-13"), inherit_doc getNumHeadForalls]
abbrev forallArity := @getNumHeadForalls

/-- Like `withApp` but ignores metadata. -/
Expand Down

0 comments on commit 0dc51ac

Please sign in to comment.