aboutsummaryrefslogtreecommitdiff
path: root/tactics/class_tactics.ml
diff options
context:
space:
mode:
authorMaxime Dénès2020-09-02 14:42:01 +0200
committerMaxime Dénès2020-09-02 21:50:13 +0200
commitfea073c74f98f3fe6728363c0f8142520ac1e50c (patch)
tree67402c5ba7e70695028502b810a42ecc400de2fc /tactics/class_tactics.ml
parente9b64e2f09d2a8dcc2558a9ea34268b4d78fdc66 (diff)
Replace `frozen` by `allowed` evars in evarconv, and delay them
This is a follow-up of #9062, which introduced a discrenpancy between the two unification engines.
Diffstat (limited to 'tactics/class_tactics.ml')
-rw-r--r--tactics/class_tactics.ml10
1 files changed, 5 insertions, 5 deletions
diff --git a/tactics/class_tactics.ml b/tactics/class_tactics.ml
index d969dea19e..39589b2d11 100644
--- a/tactics/class_tactics.ml
+++ b/tactics/class_tactics.ml
@@ -134,7 +134,7 @@ let auto_core_unif_flags st allowed_evars = {
modulo_eta = false;
}
-let auto_unif_flags ?(allowed_evars = AllowAll) st =
+let auto_unif_flags ?(allowed_evars = Evarsolve.AllowAll) st =
let fl = auto_core_unif_flags st allowed_evars in
{ core_unify_flags = fl;
merge_unify_flags = fl;
@@ -307,10 +307,10 @@ and e_my_find_search db_list local_db secvars hdc complete only_classes env sigm
if cl.cl_strict then
let undefined = lazy (Evarutil.undefined_evars_of_term sigma concl) in
let allowed evk = not (Evar.Set.mem evk (Lazy.force undefined)) in
- AllowFun allowed
- else AllowAll
- | _ -> AllowAll
- with e when CErrors.noncritical e -> AllowAll
+ Evarsolve.AllowFun allowed
+ else Evarsolve.AllowAll
+ | _ -> Evarsolve.AllowAll
+ with e when CErrors.noncritical e -> Evarsolve.AllowAll
in
let tac_of_hint =
fun (flags, h) ->