lean4-htt/tests/pkg/deprecated_option
Wojciech Różowski 9aad86a576
feat: allow deprecating options (#13195)
This PR adds support for marking options as deprecated. When a
deprecated option is used via `set_option`, a warning is emitted
(controlled by `linter.deprecated.options`).

An `OptionDeprecation` structure with a required `since` field and an
optional `text?` field is added to `OptionDecl`. Each `set_option`
elaborator (command, term, tactic, grind) calls `checkDeprecatedOption`
to emit warnings. The C++ `register_option` is updated to account for
the new field.

As a first use, `backward.eqns.nonrecursive` and
`backward.eqns.deepRecursiveSplit` are marked deprecated. Continues
earlier work done in #11096.
2026-04-02 14:44:11 +00:00
..
DeprecatedOption feat: allow deprecating options (#13195) 2026-04-02 14:44:11 +00:00
DeprecatedOption.lean feat: allow deprecating options (#13195) 2026-04-02 14:44:11 +00:00
lakefile.lean feat: allow deprecating options (#13195) 2026-04-02 14:44:11 +00:00
lean-toolchain feat: allow deprecating options (#13195) 2026-04-02 14:44:11 +00:00
run_test.sh feat: allow deprecating options (#13195) 2026-04-02 14:44:11 +00:00