Skip to content

Commit

Permalink
Improve diagnostic messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Lysxia committed Dec 12, 2024
1 parent 5ea6df8 commit 6a3f065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/lib/why3findUtil.ml
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ let diagnostics_of_info info : Diagnostic.t list =
let open ProofInfo in
let mk_diagnostic goal =
let range = Option.value ~default:info.entity_range goal.range in
let message = Printf.sprintf "Unproved %s" goal.expl in
Diagnostic.create ~range ~severity:DiagnosticSeverity.Error ~message ()
let message = Printf.sprintf "Unproved goal: %s" goal.expl in
Diagnostic.create ~source:"Creusot" ~range ~severity:DiagnosticSeverity.Error ~message ()
in
List.map mk_diagnostic info.unproved_goals

Expand Down

0 comments on commit 6a3f065

Please sign in to comment.