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

LeonContext.empty

parent cad643c4
No related branches found
No related tags found
No related merge requests found
......@@ -27,3 +27,10 @@ case class LeonContext(
def findOptionOrDefault[A](optDef: LeonOptionDef[A]): A =
findOption(optDef).getOrElse(optDef.default)
}
object LeonContext {
def empty = {
val reporter = new DefaultReporter(Set())
LeonContext(reporter, new InterruptManager(reporter))
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment