aboutsummaryrefslogtreecommitdiff
path: root/tactics/tactics.ml
diff options
context:
space:
mode:
authorThéo Zimmermann2017-07-04 17:11:45 +0200
committerThéo Zimmermann2017-07-11 16:27:56 +0200
commitfbbcea2eda411fbacfafdeec3266a19af17935f3 (patch)
tree24c4d298f6a0a5f294518c450d0dc98f59417bd3 /tactics/tactics.ml
parentba7129f547d1f06c7eb67412404445681d22b920 (diff)
Deprecate options that were introduced for compatibility with 8.5.
Diffstat (limited to 'tactics/tactics.ml')
-rw-r--r--tactics/tactics.ml20
1 files changed, 10 insertions, 10 deletions
diff --git a/tactics/tactics.ml b/tactics/tactics.ml
index 2e3a4e33b3..6f2baed905 100644
--- a/tactics/tactics.ml
+++ b/tactics/tactics.ml
@@ -80,15 +80,15 @@ let _ =
optread = (fun () -> !Flags.tactic_context_compat) ;
optwrite = (fun b -> Flags.tactic_context_compat := b) }
-let apply_solve_class_goals = ref (false)
-let _ = Goptions.declare_bool_option {
- Goptions.optdepr = true;
- Goptions.optname =
- "Perform typeclass resolution on apply-generated subgoals.";
- Goptions.optkey = ["Typeclass";"Resolution";"After";"Apply"];
- Goptions.optread = (fun () -> !apply_solve_class_goals);
- Goptions.optwrite = (fun a -> apply_solve_class_goals:=a);
-}
+let apply_solve_class_goals = ref false
+
+let _ =
+ declare_bool_option
+ { optdepr = true; (* remove in 8.8 *)
+ optname = "Perform typeclass resolution on apply-generated subgoals.";
+ optkey = ["Typeclass";"Resolution";"After";"Apply"];
+ optread = (fun () -> !apply_solve_class_goals);
+ optwrite = (fun a -> apply_solve_class_goals := a); }
let clear_hyp_by_default = ref false
@@ -124,7 +124,7 @@ let shrink_abstract = ref true
let _ =
declare_bool_option
- { optdepr = true;
+ { optdepr = true; (* remove in 8.8 *)
optname = "shrinking of abstracted proofs";
optkey = ["Shrink"; "Abstract"];
optread = (fun () -> !shrink_abstract) ;