| Input: "Attention:\n\nHere is a paragraph with an unterminated `code block\nthat would be super annoying without error recovery in the\nparser.\n\nYep." | |
| Failure: unterminated inline code; expected '`' | |
| --> 3:41-3:42 | |
| | | |
| 3 | Here is a paragraph with an unterminated `code block | |
| | ^ | |
| = consumed input prefix: 64 bytes | |
| Final stack: | |
| [(Lean.Doc.Parser.Block.para | |
| [(Lean.Doc.Parser.Inline.text | |
| (Lean.Doc.Parser.versoText "Attention:"))]) | |
| (Lean.Doc.Parser.Block.para | |
| [(Lean.Doc.Parser.Inline.text | |
| (Lean.Doc.Parser.versoText | |
| "Here is a paragraph with an unterminated ")) | |
| (Lean.Doc.Parser.Inline.code | |
| (Lean.Doc.Parser.codeDelimiter "`") | |
| (Lean.Doc.Parser.versoCode | |
| [(Lean.Doc.Parser.versoCodeLine | |
| "code block")]) | |
| <missing>) | |
| (Lean.Doc.Parser.Inline.linebreak "\n") | |
| (Lean.Doc.Parser.Inline.text | |
| (Lean.Doc.Parser.versoText | |
| "that would be super annoying without error recovery in the")) | |
| (Lean.Doc.Parser.Inline.linebreak "\n") | |
| (Lean.Doc.Parser.Inline.text | |
| (Lean.Doc.Parser.versoText "parser."))]) | |
| (Lean.Doc.Parser.Block.para | |
| [(Lean.Doc.Parser.Inline.text | |
| (Lean.Doc.Parser.versoText "Yep."))])] | |
| All input consumed. | |
| Round-trip not reproduced, as the parse reported errors: leaf without original source info: <missing> |