aboutsummaryrefslogtreecommitdiff
path: root/vernac
diff options
context:
space:
mode:
authorThéo Zimmermann2020-04-26 22:27:42 +0200
committerThéo Zimmermann2020-04-27 12:12:57 +0200
commit7f9e6dfcb5f78e60236a5d9359ef8b94792fddef (patch)
tree3c944fd9fdfe68462b592c6e4f5a2b7475982cf6 /vernac
parent85d77281bb69e9b0ec802f3955cc732c7bb0d5d3 (diff)
Improve the Allow SProp error message.
Diffstat (limited to 'vernac')
-rw-r--r--vernac/himsg.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/vernac/himsg.ml b/vernac/himsg.ml
index fddc84b398..41f2ab9c63 100644
--- a/vernac/himsg.ml
+++ b/vernac/himsg.ml
@@ -729,9 +729,9 @@ let explain_undeclared_universe env sigma l =
spc () ++ str "(maybe a bugged tactic)."
let explain_disallowed_sprop () =
- Pp.(strbrk "SProp not allowed, you need to "
- ++ str "Set Allow StrictProp"
- ++ strbrk " or to use the -allow-sprop command-line-flag.")
+ Pp.(strbrk "SProp is disallowed because the "
+ ++ str "\"Allow StrictProp\""
+ ++ strbrk " flag is off.")
let explain_bad_relevance env =
strbrk "Bad relevance (maybe a bugged tactic)."