aboutsummaryrefslogtreecommitdiff
path: root/tactics/eauto.ml
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2020-06-23 12:49:46 +0200
committerPierre-Marie Pédrot2020-08-19 14:06:31 +0200
commita9541e2ee557c04c4bc3476a36a87bc7fcdb06bb (patch)
tree16c10a730c821760a14964f044f9ef82d31dee53 /tactics/eauto.ml
parent7a051f36343406cf6dece2a0d3352e9039ea2e2c (diff)
Ensure statically that Hint Extern comes with a pattern.
Diffstat (limited to 'tactics/eauto.ml')
-rw-r--r--tactics/eauto.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tactics/eauto.ml b/tactics/eauto.ml
index 9a554b117e..17e6a6edb4 100644
--- a/tactics/eauto.ml
+++ b/tactics/eauto.ml
@@ -126,7 +126,7 @@ and e_my_find_search env sigma db_list local_db secvars concl =
Tacticals.New.tclTHEN (unify_e_resolve st h)
(e_trivial_fail_db db_list local_db)
| Unfold_nth c -> reduce (Unfold [AllOccurrences,c]) onConcl
- | Extern tacast -> conclPattern concl (FullHint.pattern h) tacast
+ | Extern (pat, tacast) -> conclPattern concl pat tacast
in
let tac = FullHint.run h tac in
(tac, b, lazy (FullHint.print env sigma h))