aboutsummaryrefslogtreecommitdiffhomepage
path: root/tactics
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2018-03-06 09:44:23 +0100
committerGravatar Maxime Dénès <mail@maximedenes.fr>2018-03-06 09:44:23 +0100
commitc71ad19f52e003cfb21f80bb4071fdbeb3ce11a7 (patch)
tree1e007073a8b415ca79d30aa1778e9bb0eda4fdda /tactics
parent15331729aaab16678c2f7e29dd391f72df53d76e (diff)
parente2efa0ba532b94ac2267b8d2c3339bfe51e07f25 (diff)
Merge PR #6901: [compat] Remove "Injection L2R Pattern Order"
Diffstat (limited to 'tactics')
-rw-r--r--tactics/equality.ml12
1 files changed, 1 insertions, 11 deletions
diff --git a/tactics/equality.ml b/tactics/equality.ml
index f15a64fc8..236db1dcc 100644
--- a/tactics/equality.ml
+++ b/tactics/equality.ml
@@ -69,20 +69,10 @@ let _ =
optread = (fun () -> !discriminate_introduction);
optwrite = (:=) discriminate_introduction }
-let injection_pattern_l2r_order = ref true
-
let use_injection_pattern_l2r_order = function
- | None -> !injection_pattern_l2r_order
+ | None -> true
| Some flags -> flags.injection_pattern_l2r_order
-let _ =
- declare_bool_option
- { optdepr = true; (* remove in 8.8 *)
- optname = "injection left-to-right pattern order and clear by default when with introduction pattern";
- optkey = ["Injection";"L2R";"Pattern";"Order"];
- optread = (fun () -> !injection_pattern_l2r_order) ;
- optwrite = (fun b -> injection_pattern_l2r_order := b) }
-
let injection_in_context = ref false
let use_injection_in_context = function