lean4-htt/tests/lean/interactive/incrementalCommand.lean.expected.out
jrr6 34bd6e8bfd
feat: improve split error messages (#9424)
This PR improves the error messages produced by the `split` tactic,
including suggesting syntax fixes and related tactics with which it
might be confused.

Note that, to avoid clashing with the new error message styling
conventions used in these messages, this PR also updates the formatting
of the message produced by `throwTacticEx`.

Closes #6224
2025-07-18 22:36:10 +00:00

37 lines
1.4 KiB
Text

{"version": 2, "uri": "file:///incrementalCommand.lean", "diagnostics": []}
{"version": 2, "uri": "file:///incrementalCommand.lean", "diagnostics": []}
w
w
{"version": 1, "uri": "file:///incrementalCommand.lean", "diagnostics": []}
{"version": 1,
"uri": "file:///incrementalCommand.lean",
"diagnostics":
[{"source": "Lean 4",
"severity": 3,
"range":
{"start": {"line": 5, "character": 0}, "end": {"line": 5, "character": 5}},
"message": "\"import\"",
"fullRange":
{"start": {"line": 5, "character": 0}, "end": {"line": 5, "character": 5}}}]}
{"version": 2,
"uri": "file:///incrementalCommand.lean",
"diagnostics":
[{"source": "Lean 4",
"severity": 3,
"range":
{"start": {"line": 5, "character": 0}, "end": {"line": 5, "character": 5}},
"message": "\"import\"",
"fullRange":
{"start": {"line": 5, "character": 0}, "end": {"line": 5, "character": 5}}}]}
{"version": 2,
"uri": "file:///incrementalCommand.lean",
"diagnostics":
[{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 2, "character": 2}, "end": {"line": 2, "character": 9}},
"message": "Tactic `assumption` failed\n\n⊢ False",
"fullRange":
{"start": {"line": 2, "character": 2}, "end": {"line": 2, "character": 9}}}]}
{"version": 3, "uri": "file:///incrementalCommand.lean", "diagnostics": []}
{"version": 2, "uri": "file:///incrementalCommand.lean", "diagnostics": []}