| Input: "a ``foo``` bar\n\nNext\n" | |
| Failure: too many backticks: expected 2 but got 3 | |
| --> 1:7-1:10 | |
| | | |
| 1 | a ``foo``` bar | |
| | ^^^ | |
| = consumed input prefix: 14 bytes | |
| Final stack: | |
| (Lean.Doc.Parser.document | |
| [(Lean.Doc.Parser.Block.para | |
| [(Lean.Doc.Parser.Inline.text | |
| (Lean.Doc.Parser.versoText "a ")) | |
| (Lean.Doc.Parser.Inline.code | |
| (Lean.Doc.Parser.codeDelimiter "``") | |
| (Lean.Doc.Parser.versoCode | |
| [(Lean.Doc.Parser.versoCodeLine | |
| "foo``` bar")]) | |
| <missing>)]) | |
| (Lean.Doc.Parser.Block.para | |
| [(Lean.Doc.Parser.Inline.text | |
| (Lean.Doc.Parser.versoText "Next")) | |
| (Lean.Doc.Parser.Inline.linebreak "\n")])]) | |
| All input consumed. | |
| Round-trip not reproduced, as the parse reported errors: leaf without original source info: <missing> |