Equations
- Lean.Linter.isDeprecated env declName = Option.isSome (Lean.ParametricAttribute.getParam? Lean.Linter.deprecatedAttr env declName)
Instances For
Equations
- Lean.MessageData.isDeprecationWarning msg = Lean.MessageData.hasTag (fun x => x == `Lean.Linter.deprecatedAttr) msg
Instances For
Equations
- Lean.Linter.getDeprecatedNewName env declName = Option.getD (Lean.ParametricAttribute.getParam? Lean.Linter.deprecatedAttr env declName) none
Instances For
def
Lean.Linter.checkDeprecated
{m : Type → Type}
[Monad m]
[Lean.MonadEnv m]
[Lean.MonadLog m]
[Lean.AddMessageContext m]
[Lean.MonadOptions m]
(declName : Lake.Name)
:
m Unit
Equations
- One or more equations did not get rendered due to their size.