aboutsummaryrefslogtreecommitdiff
path: root/kernel/closure.ml
diff options
context:
space:
mode:
authorppedrot2013-01-28 21:05:35 +0000
committerppedrot2013-01-28 21:05:35 +0000
commit5a39e6c08d428d774165e0ef3922ba8b75eee9e1 (patch)
treee035f490e2c748356df73342876b22cfcb3bc5a0 /kernel/closure.ml
parent5e8824960f68f529869ac299b030282cc916ba2c (diff)
Uniformization of the "anomaly" command.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16165 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/closure.ml')
-rw-r--r--kernel/closure.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/closure.ml b/kernel/closure.ml
index 1630cff38b..b22dd42e7b 100644
--- a/kernel/closure.ml
+++ b/kernel/closure.ml
@@ -797,7 +797,7 @@ let rec drop_parameters depth n argstk =
| [] -> (* we know that n < stack_args_size(argstk) (if well-typed term) *)
if Int.equal n 0 then []
else anomaly
- "ill-typed term: found a match on a partially applied constructor"
+ (Pp.str "ill-typed term: found a match on a partially applied constructor")
| _ -> assert false
(* strip_update_shift_app only produces Zapp and Zshift items *)