diff options
| author | Pierre-Marie Pédrot | 2017-05-09 09:55:40 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2017-06-13 10:31:30 +0200 |
| commit | 6332f43dfee3efc890c5f8fdc1b5b54942c16307 (patch) | |
| tree | fae5752745aae60149e9d10e471a92043302514b /plugins/omega | |
| parent | 598ec175ea8ba6b424cc9ecf87f878494aef69a8 (diff) | |
Explicit the unsafe flag of all calls to Refine.refine.
Diffstat (limited to 'plugins/omega')
| -rw-r--r-- | plugins/omega/coq_omega.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/omega/coq_omega.ml b/plugins/omega/coq_omega.ml index 9cb94b68df..fb03948ba1 100644 --- a/plugins/omega/coq_omega.ml +++ b/plugins/omega/coq_omega.ml @@ -652,7 +652,7 @@ let clever_rewrite_base_poly typ p result theorem = let full = pf_concl gl in let env = pf_env gl in let (abstracted,occ) = abstract_path (project gl) typ (List.rev p) full in - Refine.refine begin fun sigma -> + Refine.refine ~unsafe:true begin fun sigma -> let t = applist (mkLambda @@ -688,7 +688,7 @@ let clever_rewrite_gen_nat p result (t,args) = (** Solve using the term the term [t _] *) let refine_app gl t = let open Tacmach.New in - Refine.refine begin fun sigma -> + Refine.refine ~unsafe:true begin fun sigma -> let env = pf_env gl in let ht = match EConstr.kind sigma (pf_get_type_of gl t) with | Prod (_, t, _) -> t |
