Skip to content

Commit

Permalink
new reporter message for missing measure (#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelchassot authored Oct 11, 2024
1 parent fbdd54b commit bd9da42
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,13 @@ trait VerificationChecker { self =>
reporter.warning(vc.getPos, " => INVALID")
reason match {
case VCStatus.CounterExample(cex) =>
reporter.warning("Found counter-example:")
reporter.warning(" " + cex.asString.replaceAll("\n", "\n "))
vc.kind match {
case VCKind.MeasureMissing =>
reporter.warning("Measure is missing, cannot check termination")
case _ =>
reporter.warning("Found counter-example:")
reporter.warning(" " + cex.asString.replaceAll("\n", "\n "))
}

case VCStatus.Unsatisfiable =>
reporter.warning("Property wasn't satisfiable")
Expand Down

0 comments on commit bd9da42

Please sign in to comment.