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

Fix deprecated API

parent ed6c4fb4
Branches
Tags
No related merge requests found
......@@ -1717,8 +1717,13 @@ object TreeOps {
* ========
*/
@deprecated("Use postMap instead", "Leon 0.2.0")
@deprecated("Use postMap instead", "Leon 0.2.1")
def searchAndReplace(f: Expr => Option[Expr])(e: Expr) = postMap(f)(e)
@deprecated("Use postMap instead", "Leon 0.2.1")
def searchAndReplaceDFS(f: Expr => Option[Expr])(e: Expr) = postMap(f)(e)
@deprecated("Use exists instead", "Leon 0.2.1")
def contains(e: Expr, matcher: Expr => Boolean): Boolean = exists(matcher)(e)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment