aboutsummaryrefslogtreecommitdiff
path: root/tactics/class_tactics.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-07-16 20:06:07 +0200
committerPierre-Marie Pédrot2020-08-12 14:07:13 +0200
commite28edfdc3c373af7f5ca4fbd716c8c5753494d5a (patch)
treede91d924b1bbf492820d2e8dea65e3391a4b06bd /tactics/class_tactics.ml
parenta666788182bce7059e6ba41b917b5ca6ab52ae13 (diff)
Export a dedicated function that applies immediately a hint.
Diffstat (limited to 'tactics/class_tactics.ml')
-rw-r--r--tactics/class_tactics.ml5
1 files changed, 1 insertions, 4 deletions
diff --git a/tactics/class_tactics.ml b/tactics/class_tactics.ml
index 279476badb..62470a60c0 100644
--- a/tactics/class_tactics.ml
+++ b/tactics/class_tactics.ml
@@ -170,10 +170,7 @@ let e_give_exact flags h =
let unify_resolve ~with_evars flags h diff = match diff with
| None ->
- Proofview.Goal.enter begin fun gls ->
- let clenv', _ = connect_hint_clenv h gls in
- Clenv.res_pf ~with_evars ~with_classes:false ~flags clenv'
- end
+ Hints.hint_res_pf ~with_evars ~with_classes:false ~flags h
| Some (diff, ty) ->
let () = assert (not h.hint_poly) in
Proofview.Goal.enter begin fun gl ->