Skip to content
Snippets Groups Projects
Commit 23e8b66e authored by Emmanouil (Manos) Koukoutos's avatar Emmanouil (Manos) Koukoutos Committed by Etienne Kneuss
Browse files

Correctly type function invocations in Repairman

parent 4b91096a
Branches
Tags
No related merge requests found
...@@ -376,7 +376,7 @@ class Repairman(ctx: LeonContext, initProgram: Program, fd: FunDef, verifTimeout ...@@ -376,7 +376,7 @@ class Repairman(ctx: LeonContext, initProgram: Program, fd: FunDef, verifTimeout
} }
val inputsToExample: Seq[Expr] => Example = { ins => val inputsToExample: Seq[Expr] => Example = { ins =>
evaluator.eval(FunctionInvocation(fd.typed(fd.tparams.map(_.tp)), ins)) match { evaluator.eval(functionInvocation(fd, ins)) match {
case EvaluationResults.Successful(res) => case EvaluationResults.Successful(res) =>
new InOutExample(ins, List(res)) new InOutExample(ins, List(res))
case _ => case _ =>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment