Entry recording that a syntax kind has been deprecated.
- kind : SyntaxNodeKind
The syntax node kind that is deprecated.
Optional deprecation message.
Optional version or date at which the syntax was deprecated.
Instances For
def
Lean.Elab.checkDeprecatedSyntax
{m : Type → Type}
[Monad m]
[MonadEnv m]
[MonadLog m]
[MonadOptions m]
[AddMessageContext m]
[MonadRef m]
(stx : Syntax)
(macroStack : MacroStack)
:
m Unit
Check whether stx is a deprecated syntax kind, and if so, emit a warning.
If macroStack is non-empty, the warning is attributed to the macro call site rather than the
syntax itself.
Equations
- One or more equations did not get rendered due to their size.