This PR improves the consistency of error message formatting by rendering addenda of several existing error messages as labeled notes and hints.
33 lines
1.3 KiB
Text
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}}}]}
|