aboutsummaryrefslogtreecommitdiff
path: root/interp
diff options
context:
space:
mode:
authorHugo Herbelin2016-10-10 12:02:21 +0200
committerHugo Herbelin2016-10-12 12:36:30 +0200
commit5539201bf25dec1b5c24634dca581e199caca4e7 (patch)
tree7d4d96a4f4513967ec19c0b1c800552135d1190e /interp
parent96ed527472c38e92727d8fb6bfc41770c43b762b (diff)
Shorter message for "Test Asymmetric Patterns".
But maybe it is that how the "Test" message is elaborated is not intuitive...
Diffstat (limited to 'interp')
-rw-r--r--interp/topconstr.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/interp/topconstr.ml b/interp/topconstr.ml
index 2b860173a6..79eeacf354 100644
--- a/interp/topconstr.ml
+++ b/interp/topconstr.ml
@@ -22,8 +22,7 @@ open Constrexpr_ops
let asymmetric_patterns = ref (false)
let _ = Goptions.declare_bool_option {
Goptions.optsync = true; Goptions.optdepr = false;
- Goptions.optname =
- "Constructors in patterns require all their arguments but no parameters instead of explicit parameters and arguments";
+ Goptions.optname = "no parameters in constructors";
Goptions.optkey = ["Asymmetric";"Patterns"];
Goptions.optread = (fun () -> !asymmetric_patterns);
Goptions.optwrite = (fun a -> asymmetric_patterns:=a);