lean4-htt/tests/lean/docparse/codeBlock_0014.expected.out
David Thrane Christiansen 97464c9d7f
fix: trailing whitespace setting for string literals was ignored (#10389)
This PR fixes a bug where string literal parsing ignored its trailing
whitespace setting.
2025-09-15 09:51:56 +00:00

16 lines
No EOL
333 B
Text

Failure @30 (⟨1, 30⟩): expected ')'
Final stack:
(Lean.Doc.Syntax.codeblock
"```"
[`scheme
[(Lean.Doc.Syntax.named
"("
`dialect
":="
(Lean.Doc.Syntax.arg_str
(str "\"chicken\""))
<missing>)]]
"\n"
(str "\"(define x 4)\\nx\\n\"")
"```")
Remaining: "\n(define x 4)\nx\n```"