aboutsummaryrefslogtreecommitdiffhomepage
path: root/library
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-05-31 00:49:36 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-06-02 20:04:34 -0400
commit42d510ceea82d617ac4e630049d690acbe900688 (patch)
treed68ae2fa7b0815c3d5164b2410e534befbe48039 /library
parenta2a98a4015311af83edcf8fc87aa30a5318bead8 (diff)
Don't double up on periods in anomalies
We don't want "Anomaly: Returned a functional value in a type not recognized as a product type.. Please report at http://coq.inria.fr/bugs/." but instead "Anomaly: Returned a functional value in a type not recognized as a product type. Please report at http://coq.inria.fr/bugs/."
Diffstat (limited to 'library')
-rw-r--r--library/declare.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/declare.ml b/library/declare.ml
index 95b3674c3..29aa08e77 100644
--- a/library/declare.ml
+++ b/library/declare.ml
@@ -415,7 +415,7 @@ let fixpoint_message indexes l =
let cofixpoint_message l =
Flags.if_verbose Feedback.msg_info (match l with
- | [] -> anomaly (Pp.str "No corecursive definition.")
+ | [] -> anomaly (Pp.str "No corecursive definition")
| [id] -> pr_id id ++ str " is corecursively defined"
| l -> hov 0 (prlist_with_sep pr_comma pr_id l ++
spc () ++ str "are corecursively defined"))