diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2016-11-06 19:59:28 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2017-02-14 17:26:34 +0100 |
commit | 258c8502eafd3e078a5c7478a452432b5c046f71 (patch) | |
tree | d4ce21b23a67056242410fbd78362213700af099 /tactics/hipattern.ml | |
parent | 77e638121b6683047be915da9d0499a58fcb6e52 (diff) |
Constr_matching API using EConstr.
Diffstat (limited to 'tactics/hipattern.ml')
-rw-r--r-- | tactics/hipattern.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/hipattern.ml b/tactics/hipattern.ml index a42a51fc0..d27e4afb7 100644 --- a/tactics/hipattern.ml +++ b/tactics/hipattern.ml @@ -276,8 +276,8 @@ let coq_refl_jm_pattern = open Globnames -let is_matching x y = is_matching (Global.env ()) Evd.empty x y -let matches x y = matches (Global.env ()) Evd.empty x y +let is_matching x y = is_matching (Global.env ()) Evd.empty x (EConstr.of_constr y) +let matches x y = matches (Global.env ()) Evd.empty x (EConstr.of_constr y) let match_with_equation t = if not (isApp t) then raise NoEquationFound; |