lean4-htt/tests/lean/docparse/block_0011.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

15 lines
No EOL
372 B
Text

2 failures:
@1 (⟨1, 1⟩): expected identifier
"\n test\n arg}\n\n\nHere's a paragraph."
@19 (⟨6, 0⟩): '['; expected '![', '$$', '$', '*', '[', '[^', '_', '`' or '{'
"Here's a paragraph."
Final stack:
(Lean.Doc.Syntax.para
"para{"
[(Lean.Doc.Syntax.role
"{"
<missing>
"["
[(Lean.Doc.Syntax.footnote <missing>)]
"]")])