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

Fix imports

parent be0b137e
Branches
Tags
No related merge requests found
...@@ -2,27 +2,16 @@ ...@@ -2,27 +2,16 @@
package leon.purescala package leon.purescala
import leon.purescala import Constructors._
import leon.solvers.{ Model, SolverFactory } import Expressions._
import Types._
import Common._
import Definitions._
import leon.evaluators._
import leon.LeonContext import leon.LeonContext
import leon.evaluators
import leon.utils.StreamUtils import leon.utils.StreamUtils
import leon.purescala.Quantification._
import leon.utils.DebugSectionEvaluation
import purescala.Definitions.Program
import purescala.Expressions._
import purescala.Types.StringType
import purescala.Constructors._
import purescala.ExprOps._
import purescala.Expressions._
import purescala.Expressions.{Choose }
import purescala.Extractors._
import purescala.TypeOps._
import purescala.Types._
import purescala.Common._
import purescala.Definitions._
import scala.collection.mutable.ListBuffer import scala.collection.mutable.ListBuffer
import leon.evaluators.DefaultEvaluator
object SelfPrettyPrinter { object SelfPrettyPrinter {
def prettyPrintersForType(inputType: TypeTree)(implicit ctx: LeonContext, program: Program): Stream[Lambda] = { def prettyPrintersForType(inputType: TypeTree)(implicit ctx: LeonContext, program: Program): Stream[Lambda] = {
...@@ -185,7 +174,7 @@ class SelfPrettyPrinter extends PrettyPrinterFinder[Lambda, Lambda] { top => ...@@ -185,7 +174,7 @@ class SelfPrettyPrinter extends PrettyPrinterFinder[Lambda, Lambda] { top =>
orElse orElse
} }
} catch { } catch {
case e: evaluators.ContextualEvaluator#EvalError => case e: ContextualEvaluator#EvalError =>
ctx.reporter.debug("Error " + e.msg) ctx.reporter.debug("Error " + e.msg)
orElse orElse
} }
......
...@@ -69,7 +69,7 @@ case object StringRender extends Rule("StringRender") { ...@@ -69,7 +69,7 @@ case object StringRender extends Rule("StringRender") {
val booleanTemplate = (a: Expr) => StringTemplateGenerator(Hole => IfExpr(a, Hole, Hole)) val booleanTemplate = (a: Expr) => StringTemplateGenerator(Hole => IfExpr(a, Hole, Hole))
import StringSolver.{StringFormToken, StringForm, Problem => SProblem, Equation, Assignment} import StringSolver.{StringFormToken, Problem => SProblem, Equation, Assignment}
/** Augment the left-hand-side to have possible function calls, such as x + "const" + customToString(_) ... /** Augment the left-hand-side to have possible function calls, such as x + "const" + customToString(_) ...
* Function calls will be eliminated when converting to a valid problem. * Function calls will be eliminated when converting to a valid problem.
......
...@@ -5,7 +5,6 @@ package leon.regression.synthesis ...@@ -5,7 +5,6 @@ package leon.regression.synthesis
import leon.test._ import leon.test._
import leon._ import leon._
import leon.purescala.Definitions._
import leon.synthesis._ import leon.synthesis._
import java.io.File import java.io.File
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment