aboutsummaryrefslogtreecommitdiff
path: root/vernac/himsg.ml
diff options
context:
space:
mode:
authorThéo Zimmermann2019-04-10 09:25:51 +0200
committerThéo Zimmermann2019-04-10 09:25:51 +0200
commitb1a9b3c33e91cffabc7ad68d7fdeadd18f384044 (patch)
tree74e4a4c1cfda4766435db187a9ae52f97b540bd1 /vernac/himsg.ml
parente3e3e6949f1c80abec9942ee0d258b58e5a7d382 (diff)
Improve SProp error message to mention the Allow StrictProp flag.
And document the error message.
Diffstat (limited to 'vernac/himsg.ml')
-rw-r--r--vernac/himsg.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/vernac/himsg.ml b/vernac/himsg.ml
index 32754478a5..d329b81341 100644
--- a/vernac/himsg.ml
+++ b/vernac/himsg.ml
@@ -731,7 +731,9 @@ let explain_undeclared_universe env sigma l =
spc () ++ str "(maybe a bugged tactic)."
let explain_disallowed_sprop () =
- Pp.(str "SProp not allowed, you need to use -allow-sprop.")
+ Pp.(strbrk "SProp not allowed, you need to "
+ ++ str "Set Allow StrictProp"
+ ++ strbrk " or to use the -allow-sprop command-line-flag.")
let explain_bad_relevance env =
strbrk "Bad relevance (maybe a bugged tactic)."