aboutsummaryrefslogtreecommitdiffhomepage
path: root/printing/ppconstr.ml
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 /printing/ppconstr.ml
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 'printing/ppconstr.ml')
-rw-r--r--printing/ppconstr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/ppconstr.ml b/printing/ppconstr.ml
index 60511d913..e4eb93dd9 100644
--- a/printing/ppconstr.ml
+++ b/printing/ppconstr.ml
@@ -345,7 +345,7 @@ let tag_var = tag Tag.variable
hov 1 (str "`" ++ (surround_impl b'
(pr_lident (loc,id) ++ str " : " ++
(if t' then str "!" else mt()) ++ pr t)))
- |_ -> anomaly (Pp.str "List of generalized binders have alwais one element.")
+ |_ -> anomaly (Pp.str "List of generalized binders have alwais one element")
end
| Default b ->
match t with