aboutsummaryrefslogtreecommitdiff
path: root/tactics/class_tactics.mli
diff options
context:
space:
mode:
authorMaxime Dénès2019-04-25 10:36:21 +0200
committerPierre-Marie Pédrot2019-05-02 12:30:33 +0200
commit321d26480444c947ffdaaf849157fd373e40c988 (patch)
treeb9112f99537628641054d703025102fba5640c09 /tactics/class_tactics.mli
parentf947e80e029df35f31f065bede9f84fe20e1606b (diff)
Fix #5752: `Hint Mode` ignored for type classes that appear as assumptions
The creation of the local hint db now inherits the union of the modes from the dbs passed to `typeclasses eauto`. We could probably go further and define in a more systematic way the metadata that should be inherited. A lot of this code could also be cleaned-up by defining the merge of databases, so that the search code is parametrized by just one db (the merge of the input ones).
Diffstat (limited to 'tactics/class_tactics.mli')
-rw-r--r--tactics/class_tactics.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/tactics/class_tactics.mli b/tactics/class_tactics.mli
index 2d8b07b083..b9291f6124 100644
--- a/tactics/class_tactics.mli
+++ b/tactics/class_tactics.mli
@@ -50,8 +50,8 @@ val autoapply : constr -> Hints.hint_db_name -> unit Proofview.tactic
module Search : sig
val eauto_tac :
- ?st:TransparentState.t
- (** The transparent_state used when working with local hypotheses *)
+ Hints.hint_mode array list GlobRef.Map.t * TransparentState.t
+ (** The transparent_state and modes used when working with local hypotheses *)
-> ?unique:bool
(** Should we force a unique solution *)
-> only_classes:bool