lean4-htt/tests
David Thrane Christiansen 4338a8be32
fix: better error message on missing declaration name for docstring (#10608)
This PR fixes a bad error message due to elaborating partial syntax with
Verso docstrings.

When elaborating partial syntax, the elaborator sometimes attempts to
add a docstring for a declaration that it didn't parse a name for. The
name defaults to anonymous, but inserting the docs for the anonymous
name throws a panic about being on the wrong async branch.

With this change, the reported error is the expected parser error
instead, which is much friendlier.
2025-09-29 06:26:08 +00:00
..
bench chore: update bench/riskv-ast.lean (#10505) 2025-09-24 11:46:26 +00:00
compiler chore: remove >6 month old deprecations (#10446) 2025-09-22 12:47:11 +00:00
elabissues
ir
lean fix: better error message on missing declaration name for docstring (#10608) 2025-09-29 06:26:08 +00:00
pkg fix: allow meta decls in #eval (#10545) 2025-09-26 15:10:33 +00:00
playground feat: linear-size DecidableEq instance (#10152) 2025-09-03 06:31:49 +00:00
plugin
simpperf
.gitignore
common.sh
lakefile.toml
lean-toolchain