aboutsummaryrefslogtreecommitdiff
path: root/API/API.mli
diff options
context:
space:
mode:
authorMaxime Dénès2017-12-12 19:36:15 +0100
committerMaxime Dénès2017-12-27 11:52:57 +0100
commit05fc0542f6c7a15b9187a2a91beb0aa7a42bb2fa (patch)
tree97eccce3247c2d6d79d9b3cde4bc86410bd1d02c /API/API.mli
parent2a25e1a56460556f8b8dcef2a70cd0d2b9422383 (diff)
Remove the local polymorphic flag hack.
Some code in typeclasses was even breaking the invariant that use_polymorphic_flag should not be called twice, but that code was morally dead it seems, so we remove it.
Diffstat (limited to 'API/API.mli')
-rw-r--r--API/API.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/API/API.mli b/API/API.mli
index def60ec267..682fef1fc1 100644
--- a/API/API.mli
+++ b/API/API.mli
@@ -4331,7 +4331,7 @@ sig
val class_info : Globnames.global_reference -> typeclass
val mark_resolvables : ?filter:evar_filter -> Evd.evar_map -> Evd.evar_map
val add_instance : instance -> unit
- val new_instance : typeclass -> Vernacexpr.hint_info_expr -> bool -> Decl_kinds.polymorphic ->
+ val new_instance : typeclass -> Vernacexpr.hint_info_expr -> bool ->
Globnames.global_reference -> instance
end
@@ -5798,7 +5798,7 @@ sig
val lemInv_clause :
Misctypes.quantified_hypothesis -> EConstr.constr -> Names.Id.t list -> unit Proofview.tactic
val add_inversion_lemma_exn :
- Names.Id.t -> Constrexpr.constr_expr -> Sorts.family -> bool -> (Names.Id.t -> unit Proofview.tactic) ->
+ poly:bool -> Names.Id.t -> Constrexpr.constr_expr -> Sorts.family -> bool -> (Names.Id.t -> unit Proofview.tactic) ->
unit
end