blob: fc9dd961d764c996121c6e9761a1495b3cce2019 [file]
Input: " ``` \n (define x 4)\n x\n```"
Failure: expected closing '```' for the code block opened on line 1 at column 1
--> 4:0-4:3
|
4 | ```
| ^^^
= consumed input prefix: 25 bytes
Final stack:
(Lean.Doc.Parser.Block.codeblock
(Lean.Doc.Parser.codeBlockFence "```")
[]
(Lean.Doc.Parser.versoCodeBlock
[(Lean.Doc.Parser.versoCodeLine
"(define x 4)\n")
(Lean.Doc.Parser.versoCodeLine "x\n")])
<missing>)
All input consumed.
Round-trip not reproduced, as the parse reported errors: leaf without original source info: <missing>