lean4-htt/tests/lean/interactive/strInterpSynthError.lean.expected.out
jrr6 4759506bcf
chore: use note and hint' for message addenda (#8980)
This PR improves the consistency of error message formatting by
rendering addenda of several existing error messages as labeled notes
and hints.
2025-06-27 15:16:01 +00:00

33 lines
1.3 KiB
Text

{"version": 1,
"uri": "file:///strInterpSynthError.lean",
"diagnostics":
[{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 15, "character": 25},
"end": {"line": 15, "character": 28}},
"message":
"failed to synthesize\n ToString Bar\n\nHint: Additional diagnostic information may be available using the `set_option diagnostics true` command.",
"fullRange":
{"start": {"line": 15, "character": 25},
"end": {"line": 15, "character": 28}}},
{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 20, "character": 15},
"end": {"line": 20, "character": 18}},
"message":
"failed to synthesize\n ToString Bar\n\nHint: Additional diagnostic information may be available using the `set_option diagnostics true` command.",
"fullRange":
{"start": {"line": 20, "character": 15},
"end": {"line": 20, "character": 18}}},
{"source": "Lean 4",
"severity": 1,
"range":
{"start": {"line": 26, "character": 17},
"end": {"line": 26, "character": 20}},
"message":
"failed to synthesize\n ToString Bar\n\nHint: Additional diagnostic information may be available using the `set_option diagnostics true` command.",
"fullRange":
{"start": {"line": 26, "character": 17},
"end": {"line": 26, "character": 20}}}]}