lean4-htt/tests/lean/docparse/blocks_0007.expected.out
David Thrane Christiansen 99b3ba12c9
fix: error messages from Verso docstring parser (#12372)
This PR extensively reworks the Verso docstring parser so that it gives
much better parser errors that provide more useful guidance.

Closes #12063
2026-02-07 07:49:06 +00:00

9 lines
No EOL
313 B
Text

Failure @2 (⟨2, 0⟩): expected block opener (at line start: '#', '>', ':', '*', '-', '+', '1.', '```', '%%%', '{..}') or paragraph indented at least 1
Final stack:
[(Lean.Doc.Syntax.ul
"ul{"
[(Lean.Doc.Syntax.li
"*"
[(Lean.Doc.Syntax.para <missing>)
<missing>])])]
Remaining: "abc"