blob: ca9a5b38093b8ea665bd7cddcba9f6ab0da68d30 [file]
Input: "```\ncode\n```x\n"
Failure: unexpected 'x'; expected newline
--> 3:3-3:4
|
3 | ```x
| ^
= consumed input prefix: 12 bytes
Final stack:
[(Lean.Doc.Parser.Block.codeblock
(Lean.Doc.Parser.codeBlockFence "```")
[]
(Lean.Doc.Parser.versoCodeBlock
[(Lean.Doc.Parser.versoCodeLine "code\n")])
(Lean.Doc.Parser.codeBlockFence "```"))]
All input consumed.
Round-trip not reproduced, as the parse reported errors: input from position 12 on is not covered by any token's source info