aboutsummaryrefslogtreecommitdiffhomepage
path: root/vernac/obligations.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 /vernac/obligations.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 'vernac/obligations.ml')
-rw-r--r--vernac/obligations.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/obligations.ml b/vernac/obligations.ml
index 47ac16f9c..b0b35aed5 100644
--- a/vernac/obligations.ml
+++ b/vernac/obligations.ml
@@ -1166,7 +1166,7 @@ let next_obligation n tac =
let is_open _ x = Option.is_empty x.obl_body && List.is_empty (deps_remaining obls x.obl_deps) in
let i = match Array.findi is_open obls with
| Some i -> i
- | None -> anomaly (Pp.str "Could not find a solvable obligation.")
+ | None -> anomaly (Pp.str "Could not find a solvable obligation")
in
solve_obligation prg i tac