lean4-htt/src/Lean/Elab/InfoTree
jrr6 e5c6fe1dac
feat: add elaborators, completions, and hovers for named errors (#8730)
This PR adds support for throwing named errors with associated error
explanations. In particular, it adds elaborators for the syntax defined
in #8649, which use the error-explanation infrastructure added in #8651.
This includes completions, hovers, and jump-to-definition for error
names.

Note that another stage0 rebuild will be required to define explanations
using `register_error_explanation`.

---------

Co-authored-by: Joachim Breitner <mail@joachim-breitner.de>
Co-authored-by: Marc Huisinga <mhuisi@protonmail.com>
2025-06-18 15:51:34 +00:00
..
InlayHints.lean feat: inlay hint refinements (#6959) 2025-02-06 16:43:56 +00:00
Main.lean feat: add elaborators, completions, and hovers for named errors (#8730) 2025-06-18 15:51:34 +00:00
Types.lean feat: add elaborators, completions, and hovers for named errors (#8730) 2025-06-18 15:51:34 +00:00