diff options
| author | Pierre-Marie Pédrot | 2016-11-06 19:30:24 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2017-02-14 17:26:33 +0100 |
| commit | 77e638121b6683047be915da9d0499a58fcb6e52 (patch) | |
| tree | 5c3bcc6ebe298c0e6a190d0e8c94b8e4fba626c3 /plugins | |
| parent | e27949240f5b1ee212e7d0fe3326a21a13c4abb0 (diff) | |
Patternops API using EConstr.
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/quote/quote.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/quote/quote.ml b/plugins/quote/quote.ml index afc7e6665b..a13948f779 100644 --- a/plugins/quote/quote.ml +++ b/plugins/quote/quote.ml @@ -212,9 +212,9 @@ let compute_rhs bodyi index_of_f = let i = destRel (Array.last args) in PMeta (Some (coerce_meta_in i)) | App (f,args) -> - PApp (pattern_of_constr (Global.env()) Evd.empty f, Array.map aux args) + PApp (pattern_of_constr (Global.env()) Evd.empty (EConstr.of_constr f), Array.map aux args) | Cast (c,_,_) -> aux c - | _ -> pattern_of_constr (Global.env())(*FIXME*) Evd.empty c + | _ -> pattern_of_constr (Global.env())(*FIXME*) Evd.empty (EConstr.of_constr c) in aux bodyi |
