Documentation

Lean.Elab.DeprecatedSyntax

Entry recording that a syntax kind has been deprecated.

  • The syntax node kind that is deprecated.

  • text? : Option String

    Optional deprecation message.

  • since? : Option String

    Optional version or date at which the syntax was deprecated.

Instances For

    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.
    Instances For