Skip to content
Snippets Groups Projects
Commit ebadfbce authored by Etienne Kneuss's avatar Etienne Kneuss
Browse files

Make sure position is set

parent 2b27915b
Branches
Tags
No related merge requests found
...@@ -44,7 +44,7 @@ object Trees { ...@@ -44,7 +44,7 @@ object Trees {
case class Epsilon(pred: Expr) extends Expr with ScalacPositional case class Epsilon(pred: Expr) extends Expr with ScalacPositional
case class Choose(vars: List[Identifier], pred: Expr) extends Expr with ScalacPositional with UnaryExtractable { case class Choose(vars: List[Identifier], pred: Expr) extends Expr with ScalacPositional with UnaryExtractable {
def extract = Some((pred, (e: Expr) => Choose(vars, e))) def extract = Some((pred, (e: Expr) => Choose(vars, e).setPosInfo(this)))
} }
/* Like vals */ /* Like vals */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment