Skip to content
Snippets Groups Projects
Commit 93ccaa93 authored by Manos Koukoutos's avatar Manos Koukoutos
Browse files

Improve some messages

parent 99d45a64
No related branches found
No related tags found
No related merge requests found
...@@ -96,6 +96,6 @@ object Solution { ...@@ -96,6 +96,6 @@ object Solution {
def UNSAT(implicit p: Problem): Solution = { def UNSAT(implicit p: Problem): Solution = {
val tpe = tupleTypeWrap(p.xs.map(_.getType)) val tpe = tupleTypeWrap(p.xs.map(_.getType))
Solution(BooleanLiteral(false), Set(), Error(tpe, "Path condition is UNSAT!")) Solution(BooleanLiteral(false), Set(), Error(tpe, "Spec is UNSAT for this path!"))
} }
} }
...@@ -39,7 +39,7 @@ object SourceInfo { ...@@ -39,7 +39,7 @@ object SourceInfo {
} }
if (results.isEmpty) { if (results.isEmpty) {
ctx.reporter.warning("No 'choose' found. Maybe the functions you chose do not exist?") ctx.reporter.warning("No 'choose' found. Maybe the functions you indicated do not exist?")
} }
results.sortBy(_.source.getPos) results.sortBy(_.source.getPos)
......
...@@ -55,6 +55,8 @@ class Synthesizer(val context : LeonContext, ...@@ -55,6 +55,8 @@ class Synthesizer(val context : LeonContext,
val s = getSearch val s = getSearch
reporter.info(ASCIIHelpers.title(s"Synthesizing '${ci.fd.id}'"))
val t = context.timers.synthesis.search.start() val t = context.timers.synthesis.search.start()
val sols = s.search(sctx) val sols = s.search(sctx)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment