aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics/auto.ml
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-04-14 18:33:28 +0200
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2016-05-04 13:47:12 +0200
commit8ad2627de29639b21473783195905dca6bb1c6ae (patch)
tree87f3123c9a660daa310d172e472832051eb5f4de /tactics/auto.ml
parent011ac2d7db53f0df2849985ef9cc044574c0ddb0 (diff)
Getting rid of the Geninterp.generic_interp function.
Diffstat (limited to 'tactics/auto.ml')
-rw-r--r--tactics/auto.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml
index d7ce0d4c1..46f484bf0 100644
--- a/tactics/auto.ml
+++ b/tactics/auto.ml
@@ -160,7 +160,9 @@ let conclPattern concl pat tac =
let fold id c accu = Id.Map.add id (inj c) accu in
let lfun = Id.Map.fold fold constr_bindings Id.Map.empty in
let ist = { lfun; extra = TacStore.empty } in
- Ftactic.run (Geninterp.generic_interp ist tac) (fun _ -> Proofview.tclUNIT ())
+ match tac with
+ | GenArg (Glbwit wit, tac) ->
+ Ftactic.run (Geninterp.interp wit ist tac) (fun _ -> Proofview.tclUNIT ())
end }
(***********************************************************)