lean4-htt/src/Lean/Language
Mac Malone 280fcc9883
feat: lean --error=kind (#6362)
This PR adds the `--error=kind` option (shorthand: `-Ekind`) to the
`lean` CLI. When set, messages of `kind` (e.g.,
`linter.unusedVariables`) will be reported as errors. This setting does
nothing in interactive contexts (e.g., the server).

Closes #5194.

The spelling `--error` was chosen instead of the common `-Werror` both
for practical and behavioral reasons. Behaviorally, this option effects
not just warnings, but informational messages as well. Practically,
`-Werror` conflicts with the existing `-W` option for the worker and
`lean` also does not currently use long single-hyphen option names.
2024-12-14 01:31:14 +00:00
..
Lean feat: creation and reporting for asynchronous elaboration tasks (#6170) 2024-11-22 17:12:30 +00:00
Basic.lean feat: lean --error=kind (#6362) 2024-12-14 01:31:14 +00:00
Lean.lean chore: clean up Elab.async handling (#6299) 2024-12-03 12:42:02 +00:00
Util.lean feat: creation and reporting for asynchronous elaboration tasks (#6170) 2024-11-22 17:12:30 +00:00