aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
Diffstat (limited to 'tactics')
-rw-r--r--tactics/class_tactics.ml12
1 files changed, 1 insertions, 11 deletions
diff --git a/tactics/class_tactics.ml b/tactics/class_tactics.ml
index b4d7e7d7f0..ed92a85a12 100644
--- a/tactics/class_tactics.ml
+++ b/tactics/class_tactics.ml
@@ -483,17 +483,7 @@ let make_resolve_hyp env sigma st only_classes pri decl =
if keep then
let id = GlobRef.VarRef id in
let name = PathHints [id] in
- let hints =
- if is_class then
- let hints = build_subclasses ~check:false env sigma id empty_hint_info in
- (List.map_append
- (fun (path,info,c) ->
- let h = IsConstr (EConstr.of_constr c, None) [@ocaml.warning "-3"] in
- make_resolves env sigma ~name:(PathHints path) info ~check:true h)
- hints)
- else []
- in
- (hints @ make_resolves env sigma pri ~name ~check:false (IsGlobRef id))
+ (make_resolves env sigma pri ~name ~check:false (IsGlobRef id))
else []
let make_hints g (modes,st) only_classes sign =